summaryrefslogtreecommitdiff
path: root/shell-completion/bash
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-11-23 12:17:06 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-11-23 12:17:06 -0500
commit3719f851e3cbf25ce6b195ed9982d0b9d25a34d4 (patch)
tree79d2d8856499893f2ad99b7b33d026afcdf52a4a /shell-completion/bash
parent8a421d50e03255734a5366e51bf4d7d9fc3ec015 (diff)
parentd5d841ff9daac420993f2a0bbed3ace610c9b22d (diff)
Merge pull request #1999 from evverx/nspawn-kill-signal-completion
bash-completion: nspawn: add completion for --kill-signal
Diffstat (limited to 'shell-completion/bash')
-rw-r--r--shell-completion/bash/systemd-nspawn5
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