Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues 740,742,744,753,754 #755

Merged
merged 19 commits into from
Nov 21, 2016
Merged

Issues 740,742,744,753,754 #755

merged 19 commits into from
Nov 21, 2016

Conversation

kbknapp
Copy link
Member

@kbknapp kbknapp commented Nov 21, 2016

No description provided.

…esn't work when conflicts are also set

Closes #753
Flags, Opts, and Positionals now store their internals using compartmented Base, Valued, and
Switched structs to keep the code duplication down and make it easier to maintain.

Iniside the src/app/parser.rs there have been several changes to make reasoning about the code
easier. Primarily moving related sections out of the large get_matches_with into their own
functions.
… specific args vice command wide

One can now use `Arg::allow_hyphen_values(true)` which will enable `--opt -val` style values only
for the specific arg and not command wide.

Closes #742
Failing value validators now produce messages like the following:

error: Invalid value for '-j <val>': some message about the value

Closes #744
@coveralls
Copy link

coveralls commented Nov 21, 2016

Coverage Status

Coverage decreased (-0.2%) to 91.009% when pulling cf06384 on issues-740,742,744,753,754 into 192a808 on master.

@kbknapp
Copy link
Member Author

kbknapp commented Nov 21, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Nov 21, 2016

📌 Commit cf06384 has been approved by kbknapp

homu added a commit that referenced this pull request Nov 21, 2016
homu added a commit that referenced this pull request Nov 21, 2016
@homu
Copy link
Contributor

homu commented Nov 21, 2016

⌛ Testing commit cf06384 with merge 2cde6b5...

@homu
Copy link
Contributor

homu commented Nov 21, 2016

☀️ Test successful - status

@homu homu merged commit cf06384 into master Nov 21, 2016
@kbknapp kbknapp deleted the issues-740,742,744,753,754 branch November 21, 2016 19:25
@epage
Copy link
Member

epage commented Sep 29, 2022

BurntSushi/ripgrep#233 (comment) discusses some of the motivation for the design though it doesn't get into where this feature diverges from the App version

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

Successfully merging this pull request may close these issues.

5 participants