summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2019-08-27 22:28:02 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-08-28 10:08:49 +0200
commit3005b38056676776fe7fb9514b544345a04e92ee (patch)
tree40f900041f82d415ab81a9c2ba24258d237de8fd /shell-completion
parentb9773474988fb243b033a255afb91217095aaa67 (diff)
downloadsystemd-3005b38056676776fe7fb9514b544345a04e92ee.tar.gz
systemd-3005b38056676776fe7fb9514b544345a04e92ee.tar.bz2
systemd-3005b38056676776fe7fb9514b544345a04e92ee.zip
zsh: update journalctl completions
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/zsh/_journalctl18
1 files changed, 12 insertions, 6 deletions
diff --git a/shell-completion/zsh/_journalctl b/shell-completion/zsh/_journalctl
index 019ffbe87a..43bec9b1d6 100644
--- a/shell-completion/zsh/_journalctl
+++ b/shell-completion/zsh/_journalctl
@@ -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'