mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00: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
|
[STANDALONE]='-h --help --version
|
||||||
--no-pager
|
--no-pager
|
||||||
--no-legend
|
--no-legend
|
||||||
|
--no-reload
|
||||||
--force'
|
--force'
|
||||||
[ARG]='--root
|
[ARG]='--root
|
||||||
--json'
|
--json
|
||||||
|
--noexec
|
||||||
|
--image-policy'
|
||||||
)
|
)
|
||||||
|
|
||||||
local -A VERBS=(
|
local -A VERBS=(
|
||||||
|
@ -54,6 +57,12 @@ _systemd-confext() {
|
||||||
--json)
|
--json)
|
||||||
comps='pretty short off'
|
comps='pretty short off'
|
||||||
;;
|
;;
|
||||||
|
--noexec)
|
||||||
|
comps='false true'
|
||||||
|
;;
|
||||||
|
--image-policy)
|
||||||
|
comps=''
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
|
COMPREPLY=( $(compgen -W '$comps' -- "$cur") )
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in a new issue