summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-19 17:35:35 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-19 17:35:35 +0100
commit17d47d8d2dee22ee4f0a7319b9603d3e33a0b28a (patch)
tree195ad450cfdd283933e26c4b760c294e1e562489 /shell-completion
parent8ec76163fff0a5f6aa31bb6061199829f4cfd75d (diff)
busctl: add --no-legend and use in bash completion
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/busctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index 0727241460..06d5d9383d 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -32,14 +32,14 @@ __get_machines() {
__get_endpoints() {
local a b
- busctl list --no-pager | { while read a b; do echo " $a"; done; };
+ busctl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
_busctl() {
local i verb comps
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
local -A OPTS=(
- [STANDALONE]='-h --help --version --no-pager --system --user
+ [STANDALONE]='-h --help --version --no-pager --no-legend --system --user
--show-machine --unique --acquired --activatable'
[ARG]='-H --host -M --machine --address --match'
)