[systemd-devel] [PATCH] journalctl: fix built-in usage output

Daniel Mack zonque at gmail.com
Fri May 18 12:58:35 PDT 2012


This brings journalctl's built-in usage output in sync with the man page.
There are no commands to pass, and the help screen should not confuse
users.

Signed-off-by: Daniel Mack <zonque at gmail.com>
---
 src/journal/journalctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index ebc2a6a..58778a8 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -50,7 +50,7 @@ static bool arg_local = false;
 
 static int help(void) {
 
-        printf("%s [OPTIONS...] {COMMAND} ...\n\n"
+        printf("%s [OPTIONS...] [MATCH]\n\n"
                "Send control commands to or query the journal.\n\n"
                "  -h --help           Show this help\n"
                "     --version        Show package version\n"
-- 
1.7.10.1



More information about the systemd-devel mailing list