shell-completion: add catalog options

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2012-11-16 23:41:58 +01:00
parent 0a496c9836
commit 12514db7d0
2 changed files with 4 additions and 2 deletions

View File

@ -297,7 +297,7 @@ _journalctl() {
[STANDALONE]='-a --all -b --this-boot --disk-usage -f --follow --header
-h --help -l --local --new-id128 -m --merge --no-pager
--no-tail -q --quiet --setup-keys --this-boot --verify
--version'
--version --list-catalog --update-catalog'
[ARG]='-D --directory -F --field -o --output -u --unit'
[ARGUNKNOWN]='-c --cursor --interval -n --lines -p --priority --since --until
--verify-key'

View File

@ -91,7 +91,9 @@ _ctls()
'--disk-usage[Show total disk usage]' \
{-F,--field=}'[List all values a certain field takes]:Fields:_list_fields' \
'--setup-keys[Generate new FSS key pair]' \
'--verify[Verify journal file consistency]'
'--verify[Verify journal file consistency]' \
'--list-catalog[List messages in catalog]' \
'--update-catalog[Update binary catalog database]' \
;;
localectl)
_arguments \