|
Zbigniew Jędrzejewski-Szmek |
d044ab |
From a1b21ca91835ec0322ccd0eedf9951ba0e52db80 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
From: IPv4v6 <mail.ipv4v6@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
Date: Sat, 15 Jul 2017 13:53:21 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
Subject: [PATCH] add version argument to help function (#6377)
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
Signed-off-by: Stefan Pietsch <mail.ipv4v6+gh@gmail.com>(cherry picked from commit cb4069d95e447e8a01fc3feee6d6cb99669c4c38)
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
---
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
src/core/main.c | 1 +
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
1 file changed, 1 insertion(+)
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
diff --git a/src/core/main.c b/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
index 88e2c92504..babcab4978 100644
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
--- a/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
+++ b/src/core/main.c
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
@@ -1091,6 +1091,7 @@ static int help(void) {
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
printf("%s [OPTIONS...]\n\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
"Starts up and maintains the system or user services.\n\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
" -h --help Show this help\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
+ " --version Show version\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
" --test Determine startup sequence, dump it and exit\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
" --no-pager Do not pipe output into a pager\n"
|
|
Zbigniew Jędrzejewski-Szmek |
d044ab |
" --dump-configuration-items Dump understood unit configuration items\n"
|