murarth / gumdrop

Rust option parser with custom derive support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow help flag to be specified without required arguments

awygle opened this issue · comments

Commonly programs allow specifying --help with no other arguments, even if those other arguments would be "required" otherwise. This isn't true in gumdrop today, or at least it isn't working for me.

This totally makes sense. I just hadn't thought of it before.

I've just pushed a commit that resolves this. Thanks for the issue.

I just encountered this one too--do you plan to release the change soon? I'll use the source as git in the meantime 🙂

@liamdawson I will generally publish a new version when I need it or when someone asks, but I do like to wait a bit after introducing a new feature, to see if any bugs come out of the new code. If I haven't published a new release in a week, remind me again and I'll most likely make one.

@murarth could we have that new release now, please? :D

Oops. It's been quite a bit more than a week, hasn't it?

I've just published version 0.6.0 to crates.io.