From 425293b13c2d455a01702125195d3048444cc3d9 Mon Sep 17 00:00:00 2001 From: Auke Kok Date: Thu, 5 Mar 2020 10:39:46 -0800 Subject: [PATCH] man: show example for `nmcli device wifi connect` in nmcli-example manual Add the only important example that this file should have All other examples are nice. But when you install a console-only machine and read the NM man pages, you are none the wiser, because something as simple like this isn't covered in the man pages. I've seen other users complain about it, and I've torn my hair out over this several times. [thaller@redhat.com: changed subject line of patch] --- man/nmcli-examples.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/nmcli-examples.xml b/man/nmcli-examples.xml index 53e003fb11..1ee1d24aa7 100644 --- a/man/nmcli-examples.xml +++ b/man/nmcli-examples.xml @@ -87,6 +87,10 @@ + Connect to a password-protected wifi network +$ nmcli device wifi connect "ssid" password "password" + + Showing general information and properties for a Wi-Fi interface $ nmcli -p -f general,wifi-properties device show wlan0 ===========================================================================