regtool help/version patch

Christopher Faylor cgf@redhat.com
Sun Jun 2 19:58:00 GMT 2002


On Sun, Jun 02, 2002 at 09:45:30PM -0500, Joshua Daniel Franklin wrote:
>2002-06-02  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
>
>	* regtool.cc (prog_name): New global variable.
>	(longopts): Ditto.
>	(opts): Ditto.
>	(usage): Standardize usage output. Rearrange/add descriptions.
>	(print_version): New function.
>	(main): Accomodate longopts and new --help, --version options.
>	Add check for (_argv[optind+1] == NULL).

Applied.

Thanks, as always.
cgf



More information about the Cygwin-patches mailing list