chiark / gitweb /
shell-completion: add catalog options
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Nov 2012 22:41:58 +0000 (23:41 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 16 Nov 2012 22:41:58 +0000 (23:41 +0100)
shell-completion/systemd-bash-completion.sh
shell-completion/systemd-zsh-completion.zsh

index 4c8161f..2d425c0 100644 (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'
index 59755e6..5f75bc3 100644 (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 \