dumper.exe help/version patch

Christopher Faylor cgf@redhat.com
Sat Mar 9 13:19:00 GMT 2002

On Fri, Mar 08, 2002 at 10:53:28PM -0800, Joshua Daniel Franklin wrote:
>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. 

I'd like Egor to approve this patch, if possible.


More information about the Cygwin-patches mailing list