zsh: update journalctl completions

This commit is contained in:
Ronan Pigott 2019-08-27 22:28:02 -07:00 committed by Zbigniew Jędrzejewski-Szmek
parent b977347498
commit 3005b38056
1 changed files with 12 additions and 6 deletions

View 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'