GOptionContext: Improve help in simple cases
authorMatthias Clasen <mclasen@redhat.com>
Mon, 25 May 2015 17:26:48 +0000 (13:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 25 May 2015 17:29:58 +0000 (13:29 -0400)
commit126c685f4aa627a8190e09adfc8ab0733c14a6ea
treebc15aad61dda24e293ad3b4f1a32eedf2e5ad4e9
parent525bbbd6bd7c9abb45c4ddfcfb8dcf45bbbd5726
GOptionContext: Improve help in simple cases

Only add [OPTION...] to the usage line if the context
has options. And shorten "Application Options" to just
"Options" if we don't have to differentiate from other
kinds of options.
glib/goption.c