On Saturday 13 August 2005 13:14, Alec Warner wrote:
> Author: Alec Warner
> Bug: Command Line Parsing Error --action vs action #51256
>
> The parsing code that processes actions fails to detect multiple actions
> when given specific input.
>
> This patch fixed all the provided cases from the bug, as well as some I
> randomly came up with.  Please test it ( it's very small ;) ) and see if
> you can cause h0rkage.

This patch will mean that it's impossible to do things like 'emerge -s sync'

In my opinion, the behaviour of all those test cases listed in that bug is 
correct. The first non-double-dashed parameter that names an action is 
taken to be the requested action. Adding the double-dash explicitly makes 
the parameter refer to an action. All the test cases show those two rules 
to be working correctly.

-- 
Jason Stubbs

Attachment: pgpydPdCsNeXC.pgp
Description: PGP signature

Reply via email to