Skip to content

Derive: how to enable trailing_var_arg with derive #4334

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

You must be logged in to vote

trailing_var_arg exists in the derive. It might not show up by searching the derive reference but take a look at the documentation for raw Command attributes

You'll have to make the field's type be Vec<String>.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@epage
Comment options

Answer selected by fritzrehde
Comment options

You must be logged in to vote
1 reply
@epage
Comment options

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