summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-14 18:55:11 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-14 19:06:54 -0400
commit960787ae27af395c28fb1ce9de5a575ebfb27a4d (patch)
tree318903d52bf57b1b86337cfd7b9126cf41d7e5f3 /m4
parent85424725d1870e2c218e3e2d53971f7e5dc3f0ae (diff)
hostnamectl: show only specific hostname when requested
Existing --pretty, --transient, --static options, used previously for 'set-hostname' verb, are reused for the 'status' verb. If one of them is given, only the specified hostname is printed. This way there's no need to employ awk to get the hostname in a script.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions