summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-03-20 17:55:58 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2016-03-20 17:55:58 +0000
commit6d94d993c753915a833456b4d86cc33eb3201e7c (patch)
tree2b7100351c8bb79a796810f4746b23343752b3ad /shell-completion
parent219e0ea74aae2d5e7d21c1a3926b73d8cb69966f (diff)
bash completion: add --template to nspawn
Diffstat (limited to 'shell-completion')
-rw-r--r--shell-completion/bash/systemd-nspawn4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/systemd-nspawn b/shell-completion/bash/systemd-nspawn
index 8318f6e590..0cf249d8ce 100644
--- a/shell-completion/bash/systemd-nspawn
+++ b/shell-completion/bash/systemd-nspawn
@@ -60,14 +60,14 @@ _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 --kill-signal'
+ --network-macvlan --kill-signal --template'
)
_init_completion || return
if __contains_word "$prev" ${OPTS[ARG]}; then
case $prev in
- --directory|-D)
+ --directory|-D|--template)
compopt -o nospace
comps=$(compgen -S/ -A directory -- "$cur" )
;;