GNOME Bugzilla – Bug 708831
console: improve --help handling
Last modified: 2014-03-27 03:05:44 UTC
Only recognize -h/--help if it's the first argument that is not eaten by GOptionContext. This way it's possible to interpret --help after the filename as application help, rather than gjs help.
Created attachment 255822 [details] [review] console: improve --help handling
Review of attachment 255822 [details] [review]: This looks good to me. Ideally we'd have functionality like this in GOption, but I fear adding even more complexity there.
Attachment 255822 [details] pushed as 9428ef4 - console: improve --help handling
*** Bug 707597 has been marked as a duplicate of this bug. ***