Skip to content

value_parser possibly returning multiple tuples (instead of just one) #5624

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

You must be logged in to vote

To make this more explicit, I'm referring to

    #[arg(short, long, env="SETT_METADATA_CUSTOM", value_name="NAME=VALUE", value_parser = parse_key_val::<String, String>)]
    metadata: Option<std::vec::Vec<(String, String)>>,

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ribeaud
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