From 0799523c13cbbc4d8cbb5b3654dcdfbe0faefbbd Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 15 Jan 2017 21:54:25 -0800 Subject: [PATCH] List shorthand versions of command line switches in the help text --- xrdp/xrdp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index 89dbc089..7550f933 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -402,11 +402,11 @@ main(int argc, char **argv) g_writeln("See http://www.xrdp.org for more information."); g_writeln("%s", ""); g_writeln("Usage: xrdp [options]"); - g_writeln(" --help: show help"); - g_writeln(" --nodaemon: don't fork into background"); - g_writeln(" --kill: shut down xrdp"); - g_writeln(" --port: tcp listen port"); - g_writeln(" --fork: fork on new connection"); + g_writeln(" -h, --help show help"); + g_writeln(" -n, --nodaemon don't fork into background"); + g_writeln(" -k, --kill shut down xrdp"); + g_writeln(" -p, --port tcp listen port"); + g_writeln(" -f, --fork fork on new connection"); g_writeln("%s", ""); g_deinit(); g_exit(0);