diff options
author | Daniel Mack <github@zonque.org> | 2016-03-21 11:45:23 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2016-03-21 11:45:23 +0100 |
commit | 2d4122d4df78015d15f23da35a32734ffc653534 (patch) | |
tree | 2b7100351c8bb79a796810f4746b23343752b3ad | |
parent | 219e0ea74aae2d5e7d21c1a3926b73d8cb69966f (diff) | |
parent | 6d94d993c753915a833456b4d86cc33eb3201e7c (diff) |
Merge pull request #2875 from evverx/nspawn-template-bash-completion
bash completion: add --template to nspawn
-rw-r--r-- | shell-completion/bash/systemd-nspawn | 4 |
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" ) ;; |