summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-01-10 16:01:58 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-01-10 23:15:45 +0900
commitafcb2246be6eb77788616f6a78ae2cb1629f395b (patch)
treedfa50fb4183e2d3c3d29c38a182345fae34109ad
parent245c1e68021c8fe3ecfda844aef39a03b4cf1e19 (diff)
downloadsystemd-afcb2246be6eb77788616f6a78ae2cb1629f395b.tar.gz
bash-completion: hostnamectl: add a missing option
-rw-r--r--shell-completion/bash/hostnamectl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl
index a35ac7f9a0..1b41603010 100644
--- a/shell-completion/bash/hostnamectl
+++ b/shell-completion/bash/hostnamectl
@@ -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") )