GNOME Bugzilla – Bug 694063
gnome-disks command line options / man page don't match help output
Last modified: 2015-05-23 20:57:20 UTC
Created attachment 236549 [details] [review] Sync the command line option parsing to the help output Hey there. While packaging gnome-disks 3.7.2 for SprezzOS 1.1.0, it was determined that none of the command-line option parsing, command-line help text, and man page agree on how to get help. Following GNUish convention and personal expectation, I went with -h/--help (as featured in the help text), and synced the man page and parser to it. Please apply both patches. Thanks!
Created attachment 236550 [details] [review] Sync the man page to the help output
Comment on attachment 236549 [details] [review] Sync the command line option parsing to the help output Sorry for the delay. g_application_add_main_option_entries is used for this now, and it handles --help, -h, and -?.
Review of attachment 236550 [details] [review]: Hm, I've never seen the --help / -h style before. I will use -h, --help instead.