Skip to content

Commit

Permalink
Add -P option to help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
wingspinner committed May 9, 2014
1 parent 4ee63a3 commit 87ddbc6
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 87ddbc6

Please sign in to comment.