summaryrefslogtreecommitdiffstats
path: root/src/journal/journalctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-10-02 16:42:30 +0200
committerLennart Poettering <lennart@poettering.net>2018-10-02 16:42:30 +0200
commit19a073db9bd45ccb9d1daaca0c1aa550fcb4fc31 (patch)
treecb857e4012367849bdef4540fd9db4a9db3d855c /src/journal/journalctl.c
parentbus-unit-util: fix parsing of IPAddress{Allow,Deny} (diff)
downloadsystemd-19a073db9bd45ccb9d1daaca0c1aa550fcb4fc31.tar.xz
systemd-19a073db9bd45ccb9d1daaca0c1aa550fcb4fc31.zip
journalctl: drop --new-id128 from help and man texts
Let's remove redundancy and not advertise "journalctl --new-id128" anymore, now that we have "systemd-id128 new" in a proper tool. This allows us to reduce the overly large journalctl command set a bit. Note that this just removes the --help and man text, the call remains available for compat reasons.
Diffstat (limited to 'src/journal/journalctl.c')
-rw-r--r--src/journal/journalctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index a9e4af1dd8..12d2559509 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -362,7 +362,6 @@ static int help(void) {
" --list-catalog Show all message IDs in the catalog\n"
" --dump-catalog Show entries in the message catalog\n"
" --update-catalog Update the message catalog database\n"
- " --new-id128 Generate a new 128-bit ID\n"
" --setup-keys Generate a new FSS key pair\n"
"\nSee the %s for details.\n"
, program_invocation_short_name
@@ -424,7 +423,7 @@ static int parse_argv(int argc, char *argv[]) {
{ "no-full", no_argument, NULL, ARG_NO_FULL },
{ "lines", optional_argument, NULL, 'n' },
{ "no-tail", no_argument, NULL, ARG_NO_TAIL },
- { "new-id128", no_argument, NULL, ARG_NEW_ID128 },
+ { "new-id128", no_argument, NULL, ARG_NEW_ID128 }, /* deprecated */
{ "quiet", no_argument, NULL, 'q' },
{ "merge", no_argument, NULL, 'm' },
{ "this-boot", no_argument, NULL, ARG_THIS_BOOT }, /* deprecated */