bash-completion: busctl: support more options and verbs
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Jan 2018 06:44:13 +0000 (15:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Jan 2018 14:11:00 +0000 (23:11 +0900)
shell-completion/bash/busctl

index aa4c1d7..d077675 100644 (file)
@@ -78,9 +78,10 @@ _busctl() {
         local -A OPTS=(
                [STANDALONE]='-h --help --version --no-pager --no-legend --system --user
                              --show-machine --unique --acquired --activatable --list
-                             --quiet --verbose --expect-reply=no --auto-start=no
-                             --allow-interactive-authorization=yes --augment-creds=no'
-                      [ARG]='-H --host -M --machine --address --match --timeout'
+                             -q --quiet --verbose --expect-reply=no --auto-start=no
+                             --allow-interactive-authorization=no --augment-creds=no
+                             --watch-bind=yes'
+                      [ARG]='--address -H --host -M --machine --match --timeout --size'
         )
 
         if __contains_word "--user" ${COMP_WORDS[*]}; then