chiark / gitweb /
journalctl: require argument for --priority
[elogind.git] / src / journal / journalctl.c
index cccd8a7692af2748e158c1541f3e7c4c864af56a..011a11b70baf04a7577ae239a63e6a5295136f2c 100644 (file)
@@ -157,7 +157,7 @@ static int parse_argv(int argc, char *argv[]) {
                 { "this-boot",    no_argument,       NULL, 'b'              },
                 { "directory",    required_argument, NULL, 'D'              },
                 { "header",       no_argument,       NULL, ARG_HEADER       },
-                { "priority",     no_argument,       NULL, 'p'              },
+                { "priority",     required_argument, NULL, 'p'              },
                 { "setup-keys",   no_argument,       NULL, ARG_SETUP_KEYS   },
                 { "interval",     required_argument, NULL, ARG_INTERVAL     },
                 { "verify",       no_argument,       NULL, ARG_VERIFY       },