summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-11-07 11:30:54 +0100
committerJiří Klimeš <jklimes@redhat.com>2013-11-13 12:19:51 +0100
commit79ac1cf08914d7e83c7fb3f7cde6974a4018d8c3 (patch)
tree14083f798aad579f55a5d5c9df02c5b4be3b9b85 /man
parentd95da820fcb30aff65125c366bef271e8c46f12b (diff)
downloadNetworkManager-79ac1cf08914d7e83c7fb3f7cde6974a4018d8c3.tar.gz
cli: add support for getting/setting hostname to nmcli (rh #1018510)
https://bugzilla.redhat.com/show_bug.cgi?id=1018510
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.1.in14
1 files changed, 10 insertions, 4 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index df2e74d872..9a2e83afa1 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -21,7 +21,7 @@
.\"
.\" Copyright (C) 2010 - 2013 Red Hat, Inc.
.\"
-.TH NMCLI "1" "31 October 2013"
+.TH NMCLI "1" "7 November 2013"
.SH NAME
nmcli \- command\(hyline tool for controlling NetworkManager
@@ -147,12 +147,12 @@ Show \fInmcli\fP version.
Print help information.
.SS \fIOBJECT\fP
.TP
-.B general \- general NetworkManager status and operations
+.B general \- general \fINetworkManager\fP status and operations
.br
Use this object to show NetworkManager status and permissions. You can also get
-and change NetworkManager logging level and domains.
+and change system hostname, as well as NetworkManager logging level and domains.
.TP
-.SS \fICOMMAND\fP := { status | permissions | logging }
+.SS \fICOMMAND\fP := { status | hostname | permissions | logging }
.sp
.RS
.TP
@@ -161,6 +161,12 @@ and change NetworkManager logging level and domains.
Show overall status of NetworkManager. This is the default action, when no additional
command is provided for \fIgeneral\fP object.
.TP
+.B hostname [<hostname>]
+.br
+Get and change system hostname. With no arguments, this prints currently configured hostname.
+When you pass a hostname, it will be handed over to NetworkManager to be set as a new system
+hostname.
+.TP
.B permissions
.br
Show the permissions a caller has for various authenticated operations that