chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2a2aab6
)
journalctl: fix built-in usage output
author
Daniel Mack
<zonque@gmail.com>
Fri, 18 May 2012 19:58:35 +0000
(21:58 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 21 May 2012 15:30:11 +0000
(17:30 +0200)
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.
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index ebc2a6aa49efd743444123237caa71c415fde8a1..58778a81f687dd2310343a1eeb4ac564a0454473 100644
(file)
--- 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"