Skip to content

Commit

Permalink
fix args
Browse files Browse the repository at this point in the history
  • Loading branch information
shokai committed Oct 5, 2010
1 parent 69718c6 commit 5d59ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions serial-socket-gateway
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ require 'serialport'
require 'rubygems'
require 'eventmachine'
require 'socket'
$KCODE = 'u'

if ARGV.size < 1
puts 'serial-socket-gateway /dev/tty/tty-usbdevice'
puts 'serial-socket-gateway /dev/tty.your-usbdevice'
exit 1
end

Expand Down
2 changes: 1 addition & 1 deletion serialterm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require 'rubygems'
require 'eventmachine'

if ARGV.size < 1
puts 'serialterm /dev/tty/tty-usbdevice'
puts 'serialterm /dev/tty.your-usbdevice'
exit 1
end

Expand Down

0 comments on commit 5d59ea1

Please sign in to comment.