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 4c8161ff2be001a687d3096367a2c0fda3bafc68..2d425c0aab39e7f5e0f735148ba483c713745237 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 59755e62d9863a3f8cbff8d8b3e1ebc00047b267..5f75bc31b12c7e7634786d706c605fbc78916c90 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 \