1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

bash-completion: nspawn: add completion for --kill-signal

This commit is contained in:
Evgeny Vereshchagin 2015-11-23 14:58:22 +00:00
parent 6098bb0dc3
commit d5d841ff9d

View File

@ -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