diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-10 01:35:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-10 01:35:24 +0200 |
commit | ad9eafab9fb182388777bab4bc7d32fd84702198 (patch) | |
tree | 0d5671d3481bae30d21b06aa72168a9b3be99a66 /src | |
parent | a87247dd5dc3892f858e920d09b16cc2a8b9b3c4 (diff) |
journalctl: properly parse --cursor= long getopt in addition to short -c
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journalctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c index b6f9b2f222..ec05c160be 100644 --- a/src/journal/journalctl.c +++ b/src/journal/journalctl.c @@ -150,7 +150,7 @@ static int parse_argv(int argc, char *argv[]) { { "verify", no_argument, NULL, ARG_VERIFY }, { "verify-key", required_argument, NULL, ARG_VERIFY_KEY }, { "disk-usage", no_argument, NULL, ARG_DISK_USAGE }, - { "cursor", no_argument, NULL, 'c' }, + { "cursor", required_argument, NULL, 'c' }, { NULL, 0, NULL, 0 } }; |