docopt.rb icon indicating copy to clipboard operation
docopt.rb copied to clipboard

Indicate status in Exit exception

Open cdlm opened this issue 11 years ago • 7 comments

Exit should provide information as to why docopt raised it: for instance, exiting because of --help is a nominal scenario, while an illegal option should cause an exit with a non-zero exit code.

cdlm avatar Aug 13 '14 11:08 cdlm

Was there a solution to this? I agree that the return value should be 0 when using --help but I don't see a way to fix it.

amir20 avatar Aug 04 '15 18:08 amir20

As anybody actually looking at this repo anymore?

amir20 avatar Aug 04 '15 18:08 amir20

I'm afraid I won't be available to go through the issues anymore.

@keleshev should we open an issue on this repo to find new maintainers for docopt.rb?

johari avatar Aug 04 '15 18:08 johari

Repo is over 3 years unchanged. Python package is a lot more active. I support finding new maintainers :+1:

amir20 avatar Aug 04 '15 19:08 amir20

@amir20 @johari I tweeted: https://twitter.com/keleshev/status/628895056037060608 I hope you can help spread the word.

keleshev avatar Aug 05 '15 11:08 keleshev

Stumbled upon the same issue — how to differentiate between exceptions and non-exceptional exceptions. I guess one could compare the exception's message to one's usage string.

moll avatar Aug 18 '16 20:08 moll

So what is the situation in this little long term discussion? Is there anyone caring enough and capable of continuing the maintenance of this delicate flower? Some minor maintenance issues (like this exit code) could make a difference for some of us.

DannyBen avatar Oct 03 '18 16:10 DannyBen