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

Add option to make positional arguments required #61

Closed
jyn514 opened this issue Oct 7, 2020 · 2 comments
Closed

Add option to make positional arguments required #61

jyn514 opened this issue Oct 7, 2020 · 2 comments

Comments

@jyn514
Copy link

jyn514 commented Oct 7, 2020

Currently, you can specify 'zero or more' options with #[argh(positional)] opt: Vec<_>, but there is no way to say 'one or more options'.

@elipsitz
Copy link
Contributor

elipsitz commented Oct 9, 2020

This looks like a duplicate of #13.

@jyn514
Copy link
Author

jyn514 commented Oct 9, 2020

Looks like it.

@jyn514 jyn514 closed this as completed Oct 9, 2020
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

No branches or pull requests

2 participants