Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] bug 51256
Date: Sat, 13 Aug 2005 04:52:30
Message-Id: 200508131351.45508.jstubbs@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] bug 51256 by Alec Warner
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