After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757777 - nmcli: Fix property name for passwd-file in man page
nmcli: Fix property name for passwd-file in man page
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: Documentation
git master
Other All
: Normal minor
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-11-08 14:15 UTC by Adam Bk
Modified: 2015-11-09 15:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Bk 2015-11-08 14:15:51 UTC
The property to read wifi passwords from file has name passwd-file and should be named as such. While it is correct in help message for "nmcli c -h", it is incorrect on man page.

Here is a patch with proposed changes:  

diff --git a/man/nmcli.1.in b/man/nmcli.1.in
index 1ecfd80..a54023d 100644
--- a/man/nmcli.1.in
+++ b/man/nmcli.1.in
@@ -348,10 +348,10 @@ When no command is given to the \fIconnection\fP object, the default action
 is 'nmcli connection show'.
 .RE
 .TP
-.B up [ id | uuid | path ] <ID> [ifname <ifname>] [ap <BSSID>] [passwd <file with passwords>]
+.B up [ id | uuid | path ] <ID> [ifname <ifname>] [ap <BSSID>] [passwd-file <file with passwords>]
 .RE
 .RS
-.B up ifname <ifname> [ap <BSSID>] [passwd <file with passwords>]
+.B up ifname <ifname> [ap <BSSID>] [passwd-file <file with passwords>]
 .RS
 .br
Comment 1 Jiri Klimes 2015-11-09 15:02:41 UTC
Committed as
cfa4195 man: fix synopsis for nmcli connection up (bgo #757777) - master
106e222 man: fix synopsis for nmcli connection up (bgo #757777) - nm-1-0

Thanks.