summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-11-16 23:41:58 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-11-16 23:41:58 +0100
commit12514db7d099bd66ad71cd4684bbf97a200b08fa (patch)
tree69109a32967dcab232f63eeb902ca11a5f71b734 /shell-completion
parent0a496c9836cabf6448b3bc08161cdd677092e9ef (diff)
shell-completion: add catalog options
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/systemd-bash-completion.sh2
-rw-r--r--shell-completion/systemd-zsh-completion.zsh4
2 files changed, 4 insertions, 2 deletions
diff --git a/shell-completion/systemd-bash-completion.sh b/shell-completion/systemd-bash-completion.sh
index 4c8161ff2b..2d425c0aab 100644
--- a/shell-completion/systemd-bash-completion.sh
+++ b/shell-completion/systemd-bash-completion.sh
@@ -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'
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index 59755e62d9..5f75bc31b1 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -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 \