8000 Argument parser doesn't stop at -- · Issue #764 · rmarquis/pacaur · GitHub
[go: up one dir, main page]

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

Argument parser doesn't stop at -- #764

@thomwiggers

Description

@thomwiggers
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.
[....]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0