summaryrefslogtreecommitdiff
path: root/shell-completion/bash/loginctl
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-11-24 16:05:42 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-11-24 16:05:42 +0000
commitc2af810150f41057980342a3614cd0155a480c09 (patch)
tree427cae844b5ab3b923721b66e2465dd79512d53d /shell-completion/bash/loginctl
parentaad2652326dea4c6b51002f3e62e1fd2dac7931d (diff)
bash-completion: list valid signal names
this is a follow-up for commit 18540892d18addc4dcb81
Diffstat (limited to 'shell-completion/bash/loginctl')
-rw-r--r--shell-completion/bash/loginctl3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/loginctl b/shell-completion/bash/loginctl
index 7a083d2875..776eca4e62 100644
--- a/shell-completion/bash/loginctl
+++ b/shell-completion/bash/loginctl
@@ -41,7 +41,8 @@ _loginctl () {
if __contains_word "$prev" ${OPTS[ARG]}; then
case $prev in
--signal|-s)
- comps=$(compgen -A signal)
+ _signals
+ return
;;
--kill-who)
comps='all leader'