automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: two $exit_code and a fatal


From: Tom Tromey
Subject: Re: FYI: two $exit_code and a fatal
Date: 10 Jul 2002 12:05:01 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

Tom> These are always supposed to exit with status 0 according to the GCS.

adl> Ouch!  I didn't know.

Don't worry about it.  Even getting the --help/--version rules right
is hard.  There's always packages that fail.

adl> So it seems to makes sense that 
adl>   automake -Werror -Wnonexistant-category --help
adl> exits with 1 too.  Otherwise we'd be ignoring errors the
adl> user requested.

--help obviates that though.

adl> Akim told me that one way to comply with the GCS this is to make
adl> a first pass on the command line to handle the --version and
adl> --help options, and then proceed with the other switches in a
adl> second pass.  I'll try to do that this evening.

As long as the parsing is precise, I'm ok with it.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]