diff --git a/man/nmcli.1.in b/man/nmcli.1.in index 7fdaf8f3d9..60da532b9f 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 | delete | reload } +.SS \fICOMMAND\fP := { show | up | down | add | edit | delete | reload } .sp .RS .TP @@ -502,6 +502,36 @@ to be sent back out through the slave the frame was received on \(en IPv6 addresses .RE .TP +.B edit [id | uuid | path ] - edit an existing connection +.RE +.RS +.B edit [type ] [con-name ] - add a new connection +.RS +Edit an existing connection or add a new one, using an interactive editor. +.br +The existing connection is identified by its name, UUID or D-Bus path. +If is ambiguous, a keyword \fIid\fP, \fIuuid\fP, or \fIpath\fP can be used. +See \fBshow active\fP above for the description of the -specifying keywords. +Not providing an means that a new connection will be added. +.sp +The interactive editor will guide you through the connection editation and +allow you to change connection parameters according to your needs by means of +a simple menu-driven interface. The editor indicates what settings and +properties can be modified and provides an inline help. +.sp +.PP +Available options: +.IP \fItype\fP 13 +\(en type of the new connection; valid types are the same as for \fIconnection add\fP command +.IP \fIcon-name\fP 13 +\(en name for the new connection. It can be changed later in the editor. +.RE +.RS +.sp +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 delete [ id | uuid | path ] .br Delete a configured connection. The connection to delete is identified by @@ -730,6 +760,14 @@ and disables the connection's auto-connect flag. non-interactively adds a VLAN connection with ID 55. The connection will use eth0 and the VLAN interface will be named maxipes\(hyfik. +.IP "\fB\f(CWnmcli connection edit ethernet\-em1\-2\fP\fP" +.IP +edits existing "ethernet\(hyem1\(hy2" connection in the interactive editor. + +.IP "\fB\f(CWnmcli connection edit type ethernet con-name \(dq\&yet another ethernet connection\(dq\&\fP\fP" +.IP +adds a new ethernet connection in the interactive editor. + .SH BUGS There are probably some bugs. If you find a bug, please report it to https://bugzilla.gnome.org/ \(em product \fINetworkManager\fP.