Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -P option to help menu #7

Merged
merged 1 commit into from
May 12, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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