X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fhostnamectl.xml;h=4bc05f52ce79cc4e1088c817eea4903b9c2e2c1c;hb=672682a6b9d6fb6a3722c3fea1a93b4831747b54;hp=f28e430a421bda3b0977982e2e1e883e82c1a627;hpb=409dee2e44e7dc73d6bf00d782938e4cb4105f5b;p=elogind.git
diff --git a/man/hostnamectl.xml b/man/hostnamectl.xml
index f28e430a4..4bc05f52c 100644
--- a/man/hostnamectl.xml
+++ b/man/hostnamectl.xml
@@ -49,7 +49,9 @@
- hostnamectl OPTIONSCOMMAND
+ hostnamectl
+ OPTIONS
+ COMMAND
@@ -81,7 +83,7 @@
/etc/hostname, see
hostname5
for more information. The pretty hostname, chassis
- type and icon name are stored in
+ type, and icon name are stored in
/etc/machine-info, see
machine-id5.
@@ -131,7 +133,7 @@
remotely. Specify a hostname, or
username and hostname separated by @,
to connect to. This will use SSH to
- talk to a remote
+ talk to the remote
system.
@@ -141,11 +143,20 @@
If
- set-hostname is
- invoked and one or more of these
- options are passed, only the selected
- hostname(s) is/are
- updated.
+ status is used (or
+ no explicit command is given) and one
+ of those fields is given,
+ hostnamectl will
+ print out just this selected
+ hostname.
+
+ If used with
+ set-hostname, only
+ the selected hostname(s) will be
+ updated. When more than one of those
+ options is used, all the specified
+ hostnames will be updated.
+
@@ -244,7 +255,7 @@
Exit status
- On success 0 is returned, a non-zero failure
+ On success, 0 is returned, a non-zero failure
code otherwise.