summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/hostnamectl
diff options
context:
space:
mode:
authorJakub Warczarek <jakub.warczarek@gmail.com>2021-04-23 20:41:45 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-03 20:19:19 +0200
commit572c55ee3cbeb2a7ed4600aec2530ffa7e7a3a87 (patch)
tree11fc1bd4badb1d99a83f6f57b2c69d43b5058b38 /shell-completion/bash/hostnamectl
parentcore: apply LogLevelMax to messages about units (diff)
downloadsystemd-572c55ee3cbeb2a7ed4600aec2530ffa7e7a3a87.tar.xz
systemd-572c55ee3cbeb2a7ed4600aec2530ffa7e7a3a87.zip
hostnamectl: deprecate set-* methods and expose getters by only using nouns in commands
Diffstat (limited to 'shell-completion/bash/hostnamectl')
-rw-r--r--shell-completion/bash/hostnamectl6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl
index e3765c315c..5c8d3975d7 100644
--- a/shell-completion/bash/hostnamectl
+++ b/shell-completion/bash/hostnamectl
@@ -38,9 +38,9 @@ _hostnamectl() {
local -A VERBS=(
[STANDALONE]='status'
- [ICONS]='set-icon-name'
- [NAME]='set-hostname set-deployment set-location'
- [CHASSIS]='set-chassis'
+ [ICONS]='icon-name'
+ [NAME]='hostname deployment location'
+ [CHASSIS]='chassis'
)
for ((i=0; i < COMP_CWORD; i++)); do