projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e58b1d
)
bash-completion: busctl: do not suggest "-" for signature
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 30 Mar 2018 08:08:11 +0000
(17:08 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 30 Mar 2018 08:08:14 +0000
(17:08 +0900)
Fixes #8371.
shell-completion/bash/busctl
patch
|
blob
|
history
diff --git
a/shell-completion/bash/busctl
b/shell-completion/bash/busctl
index cfa4d4fa83143b3cfa50ef82e15f847351965437..c467b291b3ff5eaa4f625411fc39e45289a4a6c9 100644
(file)
--- 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() {