Skip to content

How to prevent specifying the same option twice #305

Answered by phil-scott-78
babysnakes asked this question in Q&A
Discussion options

You must be logged in to vote

Right now there isn't a way to fail, but that behavior is pretty common for CLIs. E.g. here's GH

and just to verify here's git on ubuntu

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patriksvensson
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #302 on March 16, 2021 07:05.