Skip to content

Parse a Vec<T> out of a single comma-delimited argument without consuming the rest #5330

Answered by epage
stijndcl asked this question in Q&A
Discussion options

You must be logged in to vote

Check out the arg types referencehttps://docs.rs/clap/latest/clap/_derive/index.html#arg-types). You'll need to undo what it does. In particular, you also need to set ArgAction::Set.

#4626 is the issue trying to figure out a way to improve this.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@stijndcl
Comment options

@epage
Comment options

Answer selected by stijndcl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants