dumper.exe help/version patch

Joshua Daniel Franklin joshuadfranklin@yahoo.com
Sat Mar 9 10:37:00 GMT 2002


Here is the next in the series of patches to standardize the help and
version options in the utils. This also adds GNUish options to dumper.
I left the "Compiled on __DATE__" out of
print_version since there is a #ifdef __GNUC__ in the file and I don't
know whether that trick works with all compilers.

2002-03-09  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* dumper.cc (usage) Standardize usage output. Generalize to allow use for help.
            (longopts) New struct. Added longopts for all options.
            (print_version) New function. 
            (main) Change getopt to getopt_long. Accommodate new help and 
            version options. 

__________________________________________________
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: dumper.cc-patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020309/a506fed9/attachment.ksh>


More information about the Cygwin-patches mailing list