diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-23 14:58:22 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2015-11-23 17:01:26 +0000 |
commit | d5d841ff9daac420993f2a0bbed3ace610c9b22d (patch) | |
tree | 785d74c3a0116f557c9645d3dc76e4dbba5b6b5d /shell-completion/bash | |
parent | 6098bb0dc31b1c472ab868088d04234352c44b75 (diff) |
bash-completion: nspawn: add completion for --kill-signal
Diffstat (limited to 'shell-completion/bash')
-rw-r--r-- | shell-completion/bash/systemd-nspawn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn index f9b740380c..2636666b5d 100644 --- a/shell-completion/bash/systemd-nspawn +++ b/shell-completion/bash/systemd-nspawn @@ -57,7 +57,7 @@ _systemd_nspawn() { [ARG]='-D --directory -u --user --uuid --capability --drop-capability --link-journal --bind --bind-ro -M --machine -S --slice --setenv -Z --selinux-context -L --selinux-apifs-context --register --network-interface --network-bridge --personality -i --image --tmpfs --volatile - --network-macvlan' + --network-macvlan --kill-signal' ) _init_completion || return @@ -132,6 +132,9 @@ _systemd_nspawn() { compopt -o nospace comps=$( compgen -A file -- "$cur" ) ;; + --kill-signal) + comps=$(compgen -A signal) + ;; esac COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) return 0 |