diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-31 23:54:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-01 22:18:15 +0100 |
commit | 7e0cdf8f1ff366a1d1770ea92bcce686db8c2dfc (patch) | |
tree | 41f0156ee82e096d2746d96563b8a638ce580722 /src/activate | |
parent | fa994f917d51997c6bc125161a473d1ed8d40229 (diff) |
activate: reorder --help text
Make sure the --help and --version options are mentioned first, like in all our other tools.
Diffstat (limited to 'src/activate')
-rw-r--r-- | src/activate/activate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/activate/activate.c b/src/activate/activate.c index 6709d9bb80..558d16824a 100644 --- a/src/activate/activate.c +++ b/src/activate/activate.c @@ -329,12 +329,12 @@ static void help(void) { printf("%s [OPTIONS...]\n\n" "Listen on sockets and launch child on connection.\n\n" "Options:\n" - " -d --datagram Datagram sockets\n" + " -h --help Show this help and exit\n" + " --version Print version string and exit\n" " -l --listen=ADDR Listen for raw connections at ADDR\n" + " -d --datagram Listen on datagram instead of stream socket\n" " -a --accept Spawn separate child for each connection\n" - " -h --help Show this help and exit\n" " -E --setenv=NAME[=VALUE] Pass an environment variable to children\n" - " --version Print version string and exit\n" "\n" "Note: file descriptors from sd_listen_fds() will be passed through.\n" , program_invocation_short_name); |