GNOME Bugzilla – Bug 739710
[patch] add manual page for nmtui(1)
Last modified: 2014-11-11 15:03:50 UTC
nmtui should have a manual page. Please have a look at the patch. Yes, the text is improvable, it's a first shot. I guess, we would also need manual pages for nmtui-connect, nmtui-edit, nmtui-hostname...
Created attachment 290072 [details] [review] man: add manual page for nmtui(1) https://bugzilla.gnome.org/show_bug.cgi?id=739710 Signed-off-by: Thomas Haller <thaller@redhat.com>
Comment on attachment 290072 [details] [review] man: add manual page for nmtui(1) > configure_generated_man_pages = \ > nmcli.1 \ >+ nmtui.1 \ As you suggested, we should install symlinks for nmtui-connect.1, nmtui-edit.1, and nmtui-hostname.1 >+.SH SYNOPSIS >+.B nmtui >+.P >+.B nmtui\-edit >+.P >+.B nmtui\-connect >+.P >+.B nmtui\-hostname The subcommands take optional arguments: nmtui-edit [ connection name | connection uuid ] nmtui-connect [ connection name | connection uuid | device name | Wi-Fi SSID ] And you can also pass the subcommand as an argument to plain "nmtui" rather than using one of the symlinks: nmtui [ edit | connect | hostname ] ... >+is a curser\(hybased TUI application to add, view, modify, and delete connections, "curses" >+activate and deactivate connections and to set the hostname. I'm not sure I'd enumerate all the things it does here... we might add more in the future. Just say "a curses-based TUI application for interacting with NetworkManager" or something. > \fInmtui\fP can also ask the user for required secrets. I don't think we need to say that, especially since as of 1.0, that will be true for all clients. >+When starting \fInmtui\fP, the user is prompted to choose one of the following activities: (if they didn't specify a subcommand on the command line) >+.IP \(em 4 >+\fIedit\fP: show a connection editor that supports adding, modifying, viewer and deleting "viewing" maybe add "like nm-connection-editor" >+\fIconnect\fP: show a list of available connections and the option to activate or deactivate >+them. change "and" to ", with" and again, also maybe "like nm-applet"
Dan, I addressed your points. Pushed new version to branch "th/bgo739710_man_nmtui"
looks good
merged to master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=1e8b681d4f10c2b5e9478ec4972cad64aa1f8e7c