summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-01-15 21:54:25 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-17 18:09:47 -0800
commit0799523c13cbbc4d8cbb5b3654dcdfbe0faefbbd (patch)
tree6f600582bb8c9ab5837f3fbd1a8bd4d3e6d60e12
parent9d162d73015c8c20dce94564a5218b9a0bace966 (diff)
downloadxrdp-proprietary-0799523c13cbbc4d8cbb5b3654dcdfbe0faefbbd.tar.gz
xrdp-proprietary-0799523c13cbbc4d8cbb5b3654dcdfbe0faefbbd.zip
List shorthand versions of command line switches in the help text
-rw-r--r--xrdp/xrdp.c10
1 files 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);