[PATCH] test-skeleton: add usage information

Mike Frysinger vapier@gentoo.org
Wed Aug 5 08:40:00 GMT 2015


On 04 Aug 2015 10:32, Carlos O'Donell wrote:
> On 08/04/2015 07:28 AM, Mike Frysinger wrote:
> > I keep trying to run tests with --help and then remembering that does
> > nothing when it throws an error.  That means I have to dig into the
> > source when I want to refer to flags or env vars and re-read a good
> > amount of code to find the nested locations.
> > 
> > Make this all much more user friendly with a usage screen that gets
> > printed out whenever an unknown option is specified.
> > 
> > 2015-08-04  Mike Frysinger  <vapier@gentoo.org>
> > 
> > 	* test-skeleton.c (usage): New function.
> > 	(main): Call usage when opt is '?'.
> 
> LGTM for 2.23.

pushed, thanks
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150805/46e5324c/attachment.sig>


More information about the Libc-alpha mailing list