-
Notifications
You must be signed in to change notification settings - Fork 12
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
Positional arguments with option type crash cmdliner #51
Comments
Currently, all record fields of type I am guessing you would like something more like what Rust's structopt does with positional arguments whose underlying type is What cmdliner does support, however, is the notion of a positional argument that consumes an arbitrary number of tokens (e.g., look at the |
I guess I'm confused by their docs then, because it says this for |
In any case, even having |
If you specify
[@pos]
on a field that is anoption
type, cmdliner will crash withFatal error: exception Invalid_argument("Option argument without name")
I tried digging into this but I couldn't see where the issue would be.
The text was updated successfully, but these errors were encountered: