Closed atc0005 closed 4 years ago
I need to look into this. This may be a bug.
I need to look into this. This may be a bug.
Thanks!
@integrii Is there any progress fixing the bug? If you are busy, I could possibly help.
I keep meaning to look at this... I welcome any help @ravenpride!
The issue should be fixed. Please see PR #54.
I took a look at your stuff @ravenpride and I appreciate your help. However, I dove in and I think PR #55 fixes this in a slightly more simple way. Let me know what you guys think and I'll merge it.
You can actually see here (in the current live code) that I put in a comment describing what should go below, but never actually wrote it! The PR just fills it in:
https://github.com/integrii/flaggy/blob/master/subCommand.go#L163
I see, but could you please have a look at my comments regarding PR #55 ?
Launched in release 1.4.0!
I tried using the option as shown here:
https://github.com/integrii/flaggy/blob/master/README.md#recommended-program-structure
and with tag
1.2.2
(425304205580254c6ea87908f35848c46eb99d5e) I do see the help output when I use an invalid flag, but only if I don't specify a value for the flag when I specify the flag.Example program:
Example usage: