[systemd-commits] src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Mon May 21 08:30:22 PDT 2012


 src/journal/journalctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89834a7c1c5f194d072d42d1c30077f5b2c207ec
Author: Daniel Mack <zonque at gmail.com>
Date:   Fri May 18 21:58:35 2012 +0200

    journalctl: fix built-in usage output
    
    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.

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"



More information about the systemd-commits mailing list