mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 01:55:22 +03:00
bash-completion: add missing option to systemd-confext
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
parent
bd97ae259d
commit
8546a4af00
@ -30,9 +30,12 @@ _systemd-confext() {
|
||||
[STANDALONE]='-h --help --version
|
||||
--no-pager
|
||||
--no-legend
|
||||
--no-reload
|
||||
--force'
|
||||
[ARG]='--root
|
||||
--json'
|
||||
--json
|
||||
--noexec
|
||||
--image-policy'
|
||||
)
|
||||
|
||||
local -A VERBS=(
|
||||
@ -54,6 +57,12 @@ _systemd-confext() {
|
||||
--json)
|
||||
comps='pretty short off'
|
||||
;;
|
||||
--noexec)
|
||||
comps='false true'
|
||||
;;
|
||||
--image-policy)
|
||||
comps=''
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user