GNOME Bugzilla – Bug 698237
[enh] nmcli help improvements: add "help" for second level commands
Last modified: 2014-01-09 09:27:02 UTC
"nmcli con help" prints out a LOT of stuff. It would be better if the "connectin add" (TYPO ALERT) options weren't listed by default. It could just say "type 'nmcli connection add help' to see the full list of options for each connection type." Related to that, it seems weird to me that "nmcli dev wifi help" doesn't work.
Minor doc issue: In 'cli-enhance', the help has been moved to 'nmcli connection add help' but 'nmcli connection help' doesn't suggest that.
We used to have help for main commands only (because there were not many subcommand/arguments). 'nmcli connection add' have a lot of arguments. So now we have 'nmcli connection add help' per https://bugzilla.redhat.com/show_bug.cgi?id=953459 We could add "nmcli dev wifi help" too, if there's a consensus that it is useful. In any case, 'device wifi' description is available in common 'device' description.
NM bugzilla reorganization... sorry for the bug spam.
It appears that "help" for the second level commands is useful. So we would add: nmcli general logging help nmcli connection up help nmcli device disconnect help ... in addition to already implemented first level command help: nmcli general help nmcli connection help nmcli radio help
"help" for second level commands is available for review in jk/bgo698237-nmcli-help branch.
usage_connection_show(): detailes -> details usage_device_wimax(): "List available WiMAX NSP." -> "List available WiMAX NSPs." usage_general_hostname(): I would simplify the second sentence to "When you pass a hostname, NetworkManager will set it as the new persistent system hostname." The rest looks good.
e44bb5e cli: add 'help' for second level commands (bgo #698237) (rh #1034119)