]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: busctrl: support --full command line option
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jan 2020 03:22:08 +0000 (12:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jan 2020 03:22:08 +0000 (12:22 +0900)
shell-completion/bash/busctl

index 96bf9ae290140193e7e3ab7b78ece3894c687078..c22b122f1dc68481802c3abbe454a93de84f1cb3 100644 (file)
@@ -32,7 +32,7 @@ __get_machines() {
 __get_busnames() {
     local mode=$1
     local a b
-    COLUMNS=65535 busctl $mode list --no-legend --no-pager 2>/dev/null |
+    busctl $mode list --no-legend --no-pager --full 2>/dev/null |
         { while read a b; do echo " $a"; done; };
 }
 
@@ -85,7 +85,7 @@ _busctl() {
                       --show-machine --unique --acquired --activatable --list
                       -q --quiet --verbose --expect-reply=no --auto-start=no
                       --allow-interactive-authorization=no --augment-creds=no
-                      --watch-bind=yes -j'
+                      --watch-bind=yes -j -l --full'
         [ARG]='--address -H --host -M --machine --match --timeout --size --json
                       --destination'
     )