Skip to content

Skip the positional argument if it's not valid? #2235

Answered by pksunkara
sefeng211 asked this question in Q&A
Discussion options

You must be logged in to vote

No it is not possible. Optional positional arguments cannot come before required positional arguments. What you can do just create one Arg1 with multiple values and do the separating on your own.

Replies: 1 comment

Comment options

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