]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
add version argument to help function (#6377)
authorIPv4v6 <mail.ipv4v6@gmail.com>
Sat, 15 Jul 2017 11:53:21 +0000 (13:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 15 Jul 2017 11:53:21 +0000 (13:53 +0200)
Signed-off-by: Stefan Pietsch <mail.ipv4v6+gh@gmail.com>
src/core/main.c

index 88e2c9250425d6741689eb1a119fda578f9aed85..babcab49780e4e1a61d08b9d98162700ae42b5ec 100644 (file)
@@ -1091,6 +1091,7 @@ static int help(void) {
         printf("%s [OPTIONS...]\n\n"
                "Starts up and maintains the system or user services.\n\n"
                "  -h --help                      Show this help\n"
+               "     --version                   Show version\n"
                "     --test                      Determine startup sequence, dump it and exit\n"
                "     --no-pager                  Do not pipe output into a pager\n"
                "     --dump-configuration-items  Dump understood unit configuration items\n"