summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2021-07-09 16:41:10 +0200
committerThomas Haller <thaller@redhat.com>2021-07-09 16:41:26 +0200
commita39f7050ccd4375800e5b88f827fc06a9051e046 (patch)
tree4361fd3c642d4924b64998c6ed7848f50880a915 /man
parent71f36401da93c014216179512ebf58b96289ac28 (diff)
downloadNetworkManager-a39f7050ccd4375800e5b88f827fc06a9051e046.tar.gz
man/cli: mention `nmcli device up|down` instead of `nmcli device connect|disconnect`
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/nmcli.xml b/man/nmcli.xml
index b014e86b86..c2b867ddb8 100644
--- a/man/nmcli.xml
+++ b/man/nmcli.xml
@@ -902,7 +902,7 @@
until reboot or until the user performs an action that unblocks autoconnect,
like modifying the profile or explicitly activating it.</para>
- <para>In most cases you may want to use <command>device disconnect</command>
+ <para>In most cases you may want to use <command>device down</command>
command instead.</para>
<para>The connection is identified by its name, UUID or D-Bus path. If
@@ -1405,7 +1405,7 @@
<para>If no compatible connection exists, a new profile with default
settings will be created and activated. This differentiates
<command>nmcli connection up ifname "$DEVICE"</command> from
- <command>nmcli device connect "$DEVICE"</command></para>
+ <command>nmcli device up "$DEVICE"</command></para>
<para>If <option>--wait</option> option is not specified, the default timeout will be 90
seconds.</para>
@@ -1672,7 +1672,7 @@
according to Wi-Fi device capabilities and activates it on the device. The
hotspot is secured with WPA if device/driver supports that, otherwise WEP is
used. Use <command>connection down</command> or <command>device
- disconnect</command> to stop the hotspot.</para>
+ down</command> to stop the hotspot.</para>
<para>Parameters of the hotspot can be influenced by the optional
parameters:</para>
@@ -2356,7 +2356,7 @@
</varlistentry>
<varlistentry>
- <term><userinput>nmcli dev disconnect em2</userinput></term>
+ <term><userinput>nmcli dev down em2</userinput></term>
<listitem>
<para>disconnects a connection on interface em2 and marks the device as
unavailable for auto-connecting. As a result, no connection will automatically