[pacman-dev] [PATCH 3/3] repo-add: do not allow pkgnames to start with a minus

Brendan Hide brendan at swiftspirit.co.za
Tue May 19 19:34:18 EDT 2009


Seems Cedric already gave a more thorough explanation.

My apologies.

Brendan Hide wrote:
> Allan McRae wrote:
>> ... what is the reason for this patch?  As Dan and I discussed 
>> earlier, pkgnames are allowed to have hyphens in them, so why not at 
>> the start?
> My guess is that "pacman -S -package" might have "-p" match as a 
> parameter instead of the whole word "-package" and might then throw an 
> error that -a isn't recognised as a valid Sync parameter.
-- 
__________
Brendan Hide



More information about the pacman-dev mailing list