[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: Fix for usage information and argument passing
From: |
Akim Demaille |
Subject: |
Re: FYI: Fix for usage information and argument passing |
Date: |
27 Oct 2000 10:02:19 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
| + * autoconf.sh: Don't show obsolete options on "--help". Report
| + obsolete options to stderr. Adjust list of options. Correct
| + processing of options. Process options with values separated by
| + "=" first, so that abbreviations work. Don't accept "=" with
| + short options.
I don't understand what the last sentence refers to.
I don't really understand why you reversed these options. The order
was on purpose, e.g.:
--output | -o )
test $# = 1 && eval "$exit_missing_arg"
shift
outfile=$1
shift ;;
--output=* | -o* )
outfile=$optarg
shift ;;
and your patch makes this the converse:
--output=* | -o* )
outfile=$optarg
shift ;;
--output | -o )
test $# = 1 && eval "$exit_missing_arg"
shift
outfile=$1
shift ;;
but then you broke `autoconf -o foo.out' while still support `autoconf
-ofoo.out'. Sure, you win the possibility of having abbreviation of
long options, but it is on purpose that I dropped this. The
equivalence of `-ofoo' and `-o foo' is more important. And if we want
both we need three cases. That's too much to pay (maintenance etc.).
So unless I misunderstood something, this patch breaks something I
meant :(