Skip to content

How do I mark a flag as optional? #128

Closed Answered by krystalcode
krystalcode asked this question in Q&A
Discussion options

You must be logged in to vote

@chshersh Thank you for the response, good to know that the project is not actively maintained.

To answer my own question and for anybody new looking for this, I was able to solve this by providing a default value as supported by optparse-applicative - see Quick Start at https://hackage.haskell.org/package/optparse-applicative-0.16.1.0.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by krystalcode
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