mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
hostnamectl: deprecate set-* methods and expose getters by only using nouns in commands
This commit is contained in:
committed by
Lennart Poettering
parent
c2503e359a
commit
572c55ee3c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user