google / google/argh

Distinguish between `x` and `-- x`

Open
#78 2 comments 8 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

https://github.com/google/argh/pull/60 marks all options following `--` as positional arguments, but there's no way to tell the difference between arguments before and after the dashes.

My use case is that I have a cargo wrapper, and I want to pass all arguments after `--` verbatim to cargo, but parse arguments before `--` differently.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.