mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
bash completion: add --template to nspawn
This commit is contained in:
parent
219e0ea74a
commit
6d94d993c7
|
@ -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" )
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue