diff options
Diffstat (limited to 'xrdp/xrdp.c')
| -rw-r--r-- | xrdp/xrdp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c index b55a90cc..7550f933 100644 --- a/xrdp/xrdp.c +++ b/xrdp/xrdp.c @@ -246,6 +246,7 @@ xrdp_process_params(int argc, char **argv, } else if ((g_strncasecmp(option, "-nodaemon", 255) == 0) || (g_strncasecmp(option, "--nodaemon", 255) == 0) || + (g_strncasecmp(option, "-n", 255) == 0) || (g_strncasecmp(option, "-nd", 255) == 0) || (g_strncasecmp(option, "--nd", 255) == 0) || (g_strncasecmp(option, "-ns", 255) == 0) || @@ -401,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); |
