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

Recognize short form of --help; don't ignore unknown arguments #71

Merged
merged 4 commits into from
Sep 30, 2016

Conversation

jean
Copy link
Contributor

@jean jean commented Sep 26, 2016

After seeing #41 I realised my *) was naive.
I tried a different solution: include all arguments in the case statement, matching on prefix.
This is a bit more verbose, but I think clearer and less error-prone. (And the verbosity could be pushed into a function if need be.)

@jean
Copy link
Contributor Author

jean commented Sep 27, 2016

Also fixes #42

@brson brson merged commit 7c8692d into rust-lang-deprecated:master Sep 30, 2016
@brson
Copy link
Contributor

brson commented Sep 30, 2016

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants