summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-03-06 09:45:50 +0100
committerThomas Haller <thaller@redhat.com>2020-03-06 09:48:58 +0100
commita8442c8243b409b737afe73c586d80c6b7644c0c (patch)
treec4363d23250e43305b35673e50e0224562fa7659
parent425293b13c2d455a01702125195d3048444cc3d9 (diff)
downloadNetworkManager-a8442c8243b409b737afe73c586d80c6b7644c0c.tar.gz
man: show example for `nmcli --ask device wifi connect` in nmcli-example manual
-rw-r--r--man/nmcli-examples.xml3
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>