diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-15 17:31:32 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-15 10:52:45 +0200 |
commit | d231d569d80faa113890559768478b04460b3567 (patch) | |
tree | 5e49d4b899b1ae463695475441e0c45da0d69746 /shell-completion | |
parent | b3303202786cf87a12a442d5c324a64ad8dac7d4 (diff) | |
download | systemd-d231d569d80faa113890559768478b04460b3567.tar.gz |
bash-completion: add missing options and commands of timedatectl
Follow-up for 6129ec852ee470a3682d55f87852ee7ccabb5520.
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/timedatectl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell-completion/bash/timedatectl b/shell-completion/bash/timedatectl index 13b99f22ba..417e6d681d 100644 --- a/shell-completion/bash/timedatectl +++ b/shell-completion/bash/timedatectl @@ -34,7 +34,8 @@ _timedatectl() { local i verb comps local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local OPTS='-h --help --version --adjust-system-clock --no-pager - --no-ask-password -H --host -M --machine' + --no-ask-password -H --host -M --machine --monitor + -p --property -a --all --value' if __contains_word "$prev" $OPTS; then case $prev in @@ -56,7 +57,7 @@ _timedatectl() { local -A VERBS=( [BOOLEAN]='set-local-rtc set-ntp' - [STANDALONE]='status list-timezones' + [STANDALONE]='status list-timezones timesync-status show-timesync' [TIMEZONES]='set-timezone' [TIME]='set-time' ) |