1 |
On Saturday 13 August 2005 13:14, Alec Warner wrote: |
2 |
> Author: Alec Warner |
3 |
> Bug: Command Line Parsing Error --action vs action #51256 |
4 |
> |
5 |
> The parsing code that processes actions fails to detect multiple actions |
6 |
> when given specific input. |
7 |
> |
8 |
> This patch fixed all the provided cases from the bug, as well as some I |
9 |
> randomly came up with. Please test it ( it's very small ;) ) and see if |
10 |
> you can cause h0rkage. |
11 |
|
12 |
This patch will mean that it's impossible to do things like 'emerge -s sync' |
13 |
|
14 |
In my opinion, the behaviour of all those test cases listed in that bug is |
15 |
correct. The first non-double-dashed parameter that names an action is |
16 |
taken to be the requested action. Adding the double-dash explicitly makes |
17 |
the parameter refer to an action. All the test cases show those two rules |
18 |
to be working correctly. |
19 |
|
20 |
-- |
21 |
Jason Stubbs |