summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-31 23:54:14 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-01 22:18:15 +0100
commit7e0cdf8f1ff366a1d1770ea92bcce686db8c2dfc (patch)
tree41f0156ee82e096d2746d96563b8a638ce580722
parentfa994f917d51997c6bc125161a473d1ed8d40229 (diff)
activate: reorder --help text
Make sure the --help and --version options are mentioned first, like in all our other tools.
-rw-r--r--src/activate/activate.c6
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);