mirror of
https://github.com/systemd/systemd.git
synced 2025-02-02 13:47:27 +03:00
bash-completion: hostnamectl: add a missing option
This commit is contained in:
parent
245c1e6802
commit
afcb2246be
@ -29,7 +29,7 @@ _hostnamectl() {
|
||||
local i verb comps
|
||||
local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
local OPTS='-h --help --version --transient --static --pretty
|
||||
--no-ask-password -H --host --machine'
|
||||
--no-ask-password -H --host -M --machine'
|
||||
|
||||
if [[ $cur = -* ]]; then
|
||||
COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") )
|
||||
|
Loading…
x
Reference in New Issue
Block a user