This is the mail archive of the
mailing list for the Cygwin project.
Re: dumper.exe help/version patch
Saturday, 09 March, 2002 Christopher Faylor firstname.lastname@example.org wrote:
CF> 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 <email@example.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.
CF> I'd like Egor to approve this patch, if possible.
i have no objections to this patch.
Egor. mailto:firstname.lastname@example.org ICQ 5165414 FidoNet 2:5020/496.19