Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Argument parser doesn't stop at -- #764

Open
thomwiggers opened this issue Oct 18, 2017 · 1 comment
Open

Argument parser doesn't stop at -- #764

thomwiggers opened this issue Oct 18, 2017 · 1 comment

Comments

@thomwiggers
Copy link

Version

pacaur -v

pacaur 4.7.10
Description

When trying to search for things that start with a -, pacaurs argument parser always views them as arguments to Pacaur/Pacman. This should not happen when using -- to separate the flags from command args.

Output

pacaur -Qs -- -git

error: invalid option: '--search' and '--groups' may not be used together

pacman -Qs -- -git

local/autorandr-git 1.1.r10.g6890caf-1
    Auto-detect the connect display hardware and load the appropiate X11 setup using xrandr.
    Formerly autodisper. No disper support.
[....]
@rmarquis
Copy link
Owner

Yeah, there are quite a few issues with the current parser. Using makepkg parser is planned (see #708).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants