https://issues.apache.org/bugzilla/show_bug.cgi?id=33078





--- Comment #5 from Sönke Tesch <[EMAIL PROTECTED]>  2008-04-02 03:00:13 PST ---
Created an attachment (id=21764)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21764)
Reject option combinations that (at best) don't make much sense.

Attached patch enforces the following:

- Either merge-options or non-merge-options may be used, i.e. you cannot mix
'+a' or '-a' with 'a' options anymore. The result in these cases has always
been undefined and probably cannot be defined anyway.
Exception: 'All -a' or 'None +a' (but not '+a None', see below), in order to
conveniently 'set all options except this'.

- Options All and None may not be used as mergers, i.e. reject +All, -All,
+None, -None. There's no use in these options, '+a +b +All' is 'All', '+a +b
-All' is 'None', and who would want to add or remove just nothing?

- All and None must be the first option given. 'a b All' is equal to 'All', and
'Indexes None' has at best an undefined result, it might be 'Indexes' as well
as 'None' (and, by implementation, is 'None').


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to