diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-24 16:05:42 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-24 16:05:42 +0000 |
commit | c2af810150f41057980342a3614cd0155a480c09 (patch) | |
tree | 427cae844b5ab3b923721b66e2465dd79512d53d /shell-completion/bash/systemctl.in | |
parent | aad2652326dea4c6b51002f3e62e1fd2dac7931d (diff) |
bash-completion: list valid signal names
this is a follow-up for commit 18540892d18addc4dcb81
Diffstat (limited to 'shell-completion/bash/systemctl.in')
-rw-r--r-- | shell-completion/bash/systemctl.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index d80d8f02a8..6ffab33e45 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -115,7 +115,8 @@ _systemctl () { if __contains_word "$prev" ${OPTS[ARG]}; then case $prev in --signal|-s) - comps=$(compgen -A signal) + _signals + return ;; --type|-t) comps=$(__systemctl $mode -t help) |