Skip to content

Commit

Permalink
Merge pull request nutechsoftware#7 from wingspinner/patch-1
Browse files Browse the repository at this point in the history
Add -P option to help menu
  • Loading branch information
endlesscoil committed May 12, 2014
2 parents 4ee63a3 + 87ddbc6 commit af751d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ser2sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void show_help(const char *appName)
stderr,
"Usage: %s -p <socket listen port> -s <serial port dev>\n\n"
" -h, -help display this help and exit\n"
" -f <config path> override config file path\n"
" -f <config path> override config file path and name\n"
" -p port socket port to listen on\n"
" -s <serial device> serial device; ex /dev/ttyUSB0\n"
"options\n"
Expand All @@ -419,6 +419,7 @@ void show_help(const char *appName)
" -d daemonize\n"
" -0 raw device mode - no info messages\n"
" -t send terminal init string\n"
" -P <pid pathname> override default PID file path and name\n"
" -g debug level 0-3\n"
" -c keep incoming connections when a serial device is disconnected\n"
" -w milliseconds delay between attempts to open a serial device (5000)\n"
Expand Down

0 comments on commit af751d6

Please sign in to comment.