diff --git a/src/monitor/MonitorMain.cpp b/src/monitor/MonitorMain.cpp index d1bd7a8a..5ffb28b3 100644 --- a/src/monitor/MonitorMain.cpp +++ b/src/monitor/MonitorMain.cpp @@ -98,14 +98,19 @@ void usage(const char* message, const char* arg) ::fprintf(stderr, "\n\n"); } - ::fprintf(stdout, "usage: %s [-dvh][--hide-log][-c ]\n\n" - " -c specifies the monitor configuration file to use\n" - "\n" - " --hide-log hide interactive logging window on startup\n" - "\n" + ::fprintf(stdout, + "usage: %s [-dvh]" + "[--hide-log]" + "[-c ]" + "\n\n" " -d enable debug\n" " -v show version information\n" " -h show this screen\n" + "\n" + " --hide-log hide interactive logging window on startup\n" + "\n" + " -c specifies the monitor configuration file to use\n" + "\n" " -- stop handling options\n", g_progExe.c_str()); diff --git a/src/remote/RESTClientMain.cpp b/src/remote/RESTClientMain.cpp index 4cd29e05..a2beaf63 100644 --- a/src/remote/RESTClientMain.cpp +++ b/src/remote/RESTClientMain.cpp @@ -158,14 +158,21 @@ void usage(const char* message, const char* arg) ::fprintf(stderr, "\n\n"); } - ::fprintf(stdout, "usage: %s [-dvh] [-a
] [-p ] [-P ] \n\n" + ::fprintf(stdout, + "usage: %s [-dvh]" + "[-a
]" + "[-p ]" + "[-P ]" + " " + "\n\n" + " -d enable debug\n" + " -v show version information\n" + " -h show this screen\n" + "\n" " -a remote modem command address\n" " -p remote modem command port\n" " -P remote modem authentication password\n" "\n" - " -d enable debug\n" - " -v show version information\n" - " -h show this screen\n" " -- stop handling options\n", g_progExe.c_str());