mkgroup usage/version patch

Joshua Daniel Franklin joshuadfranklin@yahoo.com
Thu Mar 14 04:43:00 GMT 2002


This patch generalizes the usage function to allow output to stdout in
addition to stderr, and fixes an apparent typo where the help option
is listed as -?,--help, while in reality the code supports -h,--help.
It also adds a -v,--version option with Chris' print_version function.

2002-03-13  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

	* mkgroup.c (usage): Simplify usage output.  Generalize to allow use
	for help. Correct '?' typo to 'h'.
	(longopts): Add version option.
	(opts): Add 'v' version option.
	(print_version): New function.
	(main): Accommodate new version option.  Accommodate usage parameter
	changes.  Use usage to output help message.

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkgroup.c-patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020314/6cc0cf16/attachment.ksh>


More information about the Cygwin-patches mailing list