summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-19 17:36:22 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-19 17:36:22 +0200
commit31a020ced371fcf2a30c795c0f8ed1361e70904d (patch)
treefd0accfc637e0ee868c90ee85aa8f592b62e996d
parentc3f841063db371b9824b9f91df96a66dfbd24f83 (diff)
coredumpctl: add missing entries to --help
-rw-r--r--src/journal/coredumpctl.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c
index 325f62f3e7..541dda022d 100644
--- a/src/journal/coredumpctl.c
+++ b/src/journal/coredumpctl.c
@@ -85,15 +85,16 @@ static int help(void) {
printf("%s [OPTIONS...]\n\n"
"List or retrieve coredumps from the journal.\n\n"
"Flags:\n"
- " -o --output=FILE Write output to FILE\n"
+ " -h --help Show this help\n"
+ " --version Print version string\n"
" --no-pager Do not pipe output into a pager\n"
- " --no-legend Do not print the column headers.\n\n"
+ " --no-legend Do not print the column headers.\n"
+ " -1 Show information about most recent entry only\n"
+ " -F --field=FIELD List all values a certain field takes\n"
+ " -o --output=FILE Write output to FILE\n\n"
"Commands:\n"
- " -h --help Show this help\n"
- " --version Print version string\n"
- " -F --field=FIELD List all values a certain field takes\n"
- " list [MATCHES...] List available coredumps\n"
+ " list [MATCHES...] List available coredumps (default)\n"
" info [MATCHES...] Show detailed information about one or more coredumps\n"
" dump [MATCHES...] Print first matching coredump to stdout\n"
" gdb [MATCHES...] Start gdb for the first matching coredump\n"