From 1b732e28f7aafbbfb98748f6a873c98be361ef67 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 17 Oct 2018 17:15:47 +0200 Subject: [PATCH] man: document `nmcli device connect` behaviour Already since 1.0.0 release and commit "3784678177 cli: create a connection if none exist in 'nmcli dev connect' (rh #1113941)", device-connect can also create a profile. That is useful, in particular as opposed to $ nmcli connection up ifname "$DEVICE" which wouldn't create a profile (ever). Document it. --- man/nmcli.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man/nmcli.xml b/man/nmcli.xml index 79deffbc8b..2a0765d0ab 100644 --- a/man/nmcli.xml +++ b/man/nmcli.xml @@ -1281,6 +1281,11 @@ that will be activated. It will also consider connections that are not set to auto connect. + If no compatible connection exists, a new profile with default + settings will be created and activated. This differentiates + nmcli connection up ifname "$DEVICE" from + nmcli device connect "$DEVICE" + If option is not specified, the default timeout will be 90 seconds.