]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: nspawn: add completion for --kill-signal 1999/head
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 23 Nov 2015 14:58:22 +0000 (14:58 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 23 Nov 2015 17:01:26 +0000 (17:01 +0000)
shell-completion/bash/systemd-nspawn

index f9b740380c26546e294fa2bf4b8a97aaf20bbd39..2636666b5d9ca30ca1b4f53bdb2e849e38e99374 100644 (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