summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2013-04-13 16:10:23 +0200
committerJiří Klimeš <jklimes@redhat.com>2013-07-22 13:37:17 +0200
commit5ee7f488e75c941a6196fb110922dd7a74685090 (patch)
tree28aa6da542623e1e76e3913384e5f6876d130abb
parent34ab3512847997c62a1094e0edf890b3809f8f1b (diff)
downloadNetworkManager-5ee7f488e75c941a6196fb110922dd7a74685090.tar.gz
man: update nmcli manual page for 'connection modify'
-rw-r--r--man/nmcli.1.in21
1 files changed, 20 insertions, 1 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index 60da532b9f..2df644436d 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -238,7 +238,7 @@ NetworkManager connections
.br
Get information about \fINetworkManager\fP connections and manage them.
.TP
-.SS \fICOMMAND\fP := { show | up | down | add | edit | delete | reload }
+.SS \fICOMMAND\fP := { show | up | down | add | edit | modify | delete | reload }
.sp
.RS
.TP
@@ -532,6 +532,17 @@ See also \fInm-settings\fP(5) for all NM setting and property names, and their
descriptions; and \fInmcli-examples\fP(5) for sample editor sessions.
.RE
.TP
+.B modify [ id | uuid | path ] <ID> <setting name>.<property name> [<value>]
+.br
+Modify a single property in the connection.
+.br
+The connection is identified by its name, UUID or D-Bus path. If <ID> is
+ambiguous, a keyword \fIid\fP, \fIuuid\fP or \fIpath\fP can be used.
+See \fInm-settings\fP(5) for setting and property names, their descriptions
+and default values. This command supports abbreviations for \fIsetting name\fP
+and \fIproperty name\fP provided they are unique. When \fIvalue\fP is not
+specified, the property will be set to the default value (deleted).
+.TP
.B delete [ id | uuid | path ] <ID>
.br
Delete a configured connection. The connection to delete is identified by
@@ -768,6 +779,14 @@ edits existing "ethernet\(hyem1\(hy2" connection in the interactive editor.
.IP
adds a new ethernet connection in the interactive editor.
+.IP "\fB\f(CWnmcli con mod ethernet\-2 connection.autoconnect no\fP\fP"
+.IP
+modifies 'autoconnect' property in the 'connection' setting of 'ethernet\(hy2' connection.
+
+.IP "\fB\f(CWnmcli con mod \(dq\&Home Wi\-Fi\(dq\& wifi.mtu 1350\fP\fP"
+.IP
+modifies 'mtu' property in the 'wifi' setting of 'Home Wi\(hyFi' connection.
+
.SH BUGS
There are probably some bugs. If you find a bug, please report it to
https://bugzilla.gnome.org/ \(em product \fINetworkManager\fP.