-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Test case missingTest cases for related issue are not presentTest cases for related issue are not presentenhancementhelp wanted
Description
If I define
host := parser.String("h", "host", &argparse.Options{Required: false, Help: "listening host", Default: "127.0.0.1"})
// ...
I'll get a panic ->
panic: unable to add String: short name h occurs more than once
This is because there's a built-in -h/--help already occupied it.
For now I can workaround it by using a different letter, but It would be a nice to have support for h 😁
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Test case missingTest cases for related issue are not presentTest cases for related issue are not presentenhancementhelp wanted