mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
bash-completion: nspawn: add completion for --kill-signal
This commit is contained in:
parent
6098bb0dc3
commit
d5d841ff9d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user