From: Daniel Mack Date: Fri, 18 May 2012 19:58:35 +0000 (+0200) Subject: journalctl: fix built-in usage output X-Git-Tag: v183~76 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=89834a7c1c5f194d072d42d1c30077f5b2c207ec 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 ebc2a6aa4..58778a81f 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"