]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
zsh: update journalctl completions
authorRonan Pigott <rpigott@berkeley.edu>
Wed, 28 Aug 2019 05:28:02 +0000 (22:28 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Aug 2019 08:08:49 +0000 (10:08 +0200)
shell-completion/zsh/_journalctl

index 019ffbe87ac8e8a0188540fb93067dadef94c302..43bec9b1d62cebd976c1ef774e883b40de5dd7af 100644 (file)
@@ -116,15 +116,21 @@ _arguments -s \
     '(--directory -D -M --machine --root --file)'{-D+,--directory=}'[Show journal files from directory]:directories:_directories' \
     '(--directory -D -M --machine --root --file)--root=[Operate on catalog hierarchy under specified directory]:directories:_directories' \
     '(--directory -D -M --machine --root)*--file=[Operate on specified journal files]:file:_files' \
-    '--new-id128[Generate a new 128 Bit ID]' \
-    '--header[Show journal header information]' \
     '--disk-usage[Show total disk usage]' \
-    '--list-catalog[List messages in catalog]' \
     '--dump-catalog[Dump messages in catalog]' \
-    '--update-catalog[Update binary catalog database]' \
-    '--setup-keys[Generate a new FSS key pair]' \
+    '--flush[Flush all journal data from /run into /var]' \
     '--force[Force recreation of the FSS keys]' \
+    '--header[Show journal header information]' \
     '--interval=[Time interval for changing the FSS sealing key]:time interval' \
-    '--verify[Verify journal file consistency]' \
+    '--list-catalog[List messages in catalog]' \
+    '--new-id128[Generate a new 128 Bit ID]' \
+    '--rotate[Request immediate rotation of the journal files]' \
+    '--setup-keys[Generate a new FSS key pair]' \
+    '--sync[Synchronize unwritten journal messages to disk]' \
+    '--update-catalog[Update binary catalog database]' \
+    '--vacuum-files=[Leave only the specified number of journal files]:integer' \
+    '--vacuum-size=[Reduce disk usage below specified size]:bytes' \
+    '--vacuum-time=[Remove journal files older than specified time]:time' \
     '--verify-key=[Specify FSS verification key]:FSS key' \
+    '--verify[Verify journal file consistency]' \
     '*::default: _journalctl_none'