From 17d47d8d2dee22ee4f0a7319b9603d3e33a0b28a Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 19 Feb 2014 17:35:35 +0100 Subject: busctl: add --no-legend and use in bash completion --- shell-completion/bash/busctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell-completion/bash') 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' ) -- cgit v1.2.3-54-g00ecf