summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-30 17:08:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-03-30 17:08:14 +0900
commit4cbb7c500aa664452f45f8ec5a2b1f79a872eb2e (patch)
tree8c064318be9266da678659f510aa6833467fbd65 /shell-completion
parent1e58b1dc40a35d1b0fc8c3cef3ae3c3b7ac481fd (diff)
bash-completion: busctl: do not suggest "-" for signature
Fixes #8371.
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/busctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index cfa4d4fa83..c467b291b3 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -70,7 +70,7 @@ __get_signature() {
local interface=$4
local member=$5
local a b
- busctl $mode introspect --list --no-legend --no-pager $busname $path $interface | sed -e 's/^\.//' | { while read a b c d; do [[ "$a" == "$member" ]] && echo " \"$c\""; done; };
+ busctl $mode introspect --list --no-legend --no-pager $busname $path $interface | sed -e 's/^\.//' | { while read a b c d; do [[ "$a" == "$member" && "$c" != '-' ]] && echo " \"$c\""; done; };
}
_busctl() {