diff options
author | Thomas Haller <thaller@redhat.com> | 2020-03-06 09:45:50 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-03-06 09:48:58 +0100 |
commit | a8442c8243b409b737afe73c586d80c6b7644c0c (patch) | |
tree | c4363d23250e43305b35673e50e0224562fa7659 | |
parent | 425293b13c2d455a01702125195d3048444cc3d9 (diff) | |
download | NetworkManager-a8442c8243b409b737afe73c586d80c6b7644c0c.tar.gz |
man: show example for `nmcli --ask device wifi connect` in nmcli-example manual
-rw-r--r-- | man/nmcli-examples.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/nmcli-examples.xml b/man/nmcli-examples.xml index 1ee1d24aa7..a4dfc3d75c 100644 --- a/man/nmcli-examples.xml +++ b/man/nmcli-examples.xml @@ -88,7 +88,8 @@ </example> <example><title>Connect to a password-protected wifi network</title> -<screen><prompt>$ </prompt><userinput>nmcli device wifi connect "ssid" password "password"</userinput></screen> +<screen><prompt>$ </prompt><userinput>nmcli device wifi connect "$SSID" password "$PASSWORD"</userinput></screen> +<screen><prompt>$ </prompt><userinput>nmcli --ask device wifi connect "$SSID"</userinput></screen> </example> <example><title>Showing general information and properties for a Wi-Fi interface</title> |