diff options
author | Vojtech Bubela <vbubela@redhat.com> | 2021-06-23 15:59:10 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-07-09 16:01:47 +0200 |
commit | 5cd1b2669d9ee2039185f6307b5623ef2837131c (patch) | |
tree | bbfdcff57774dc5461316b5be8fed057c9115799 /man | |
parent | 478754a5048288b705de624c85e7d2eed7e8c8cf (diff) | |
download | NetworkManager-5cd1b2669d9ee2039185f6307b5623ef2837131c.tar.gz |
cli: add alias to nmcli device connect|disconnect
nmcli now accepts `nmcli device up|down` which works the same way as
`nmcli device connect|disconnect`
I also edited man pages of nmcli with new options.
Diffstat (limited to 'man')
-rw-r--r-- | man/nmcli.xml | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/man/nmcli.xml b/man/nmcli.xml index bc72c3110b..163be19227 100644 --- a/man/nmcli.xml +++ b/man/nmcli.xml @@ -1323,9 +1323,11 @@ <arg choice='plain'><command>status</command></arg> <arg choice='plain'><command>show</command></arg> <arg choice='plain'><command>set</command></arg> + <arg choice='plain'><command>up</command></arg> <arg choice='plain'><command>connect</command></arg> <arg choice='plain'><command>reapply</command></arg> <arg choice='plain'><command>modify</command></arg> + <arg choice='plain'><command>down</command></arg> <arg choice='plain'><command>disconnect</command></arg> <arg choice='plain'><command>delete</command></arg> <arg choice='plain'><command>monitor</command></arg> @@ -1391,7 +1393,7 @@ <varlistentry> <term> - <command>connect</command> + <command>up</command> <arg choice='plain'><replaceable>ifname</replaceable></arg> </term> @@ -1409,6 +1411,18 @@ seconds.</para> </listitem> </varlistentry> + + <varlistentry> + <term> + <command>connect</command> + <arg choice='plain'><replaceable>ifname</replaceable></arg> + </term> + + <listitem> + <para> Alias for command <command>up</command> + </para> + </listitem> + </varlistentry> <varlistentry> <term> @@ -1448,7 +1462,7 @@ <varlistentry> <term> - <command>disconnect</command> + <command>down</command> <arg choice='plain' rep='repeat'><replaceable>ifname</replaceable></arg> </term> @@ -1461,7 +1475,18 @@ will be 10 seconds.</para> </listitem> </varlistentry> + + <varlistentry> + <term> + <command>disconnect</command> + <arg choice='plain' rep='repeat'><replaceable>ifname</replaceable></arg> + </term> + <listitem> + <para> Alias for command <command>down</command> + </para> + </listitem> + </varlistentry> <varlistentry> <term> |