mkgroup usage/version patch

Joshua Daniel Franklin
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 <>

	* 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!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mkgroup.c-patch
URL: <>

More information about the Cygwin-patches mailing list