[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:14:07 EDT 2009

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