Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not lc opt names by default #33

Open
lwx19911226 opened this issue Aug 8, 2020 · 0 comments
Open

Not lc opt names by default #33

lwx19911226 opened this issue Aug 8, 2020 · 0 comments

Comments

@lwx19911226
Copy link

Opt "B" & "b" are both accepted, but the names are both "b",

bless({
leader_text => "t.pl [-Bb] [long options...]",
options => [
{ constraint => { default => 1 }, desc => "B", name => "b", spec => "B=i" },
{ constraint => { default => 2 }, desc => "b", name => "b", spec => "b=i" },
],
show_defaults => undef,
}, "Getopt::Long::Descriptive::Usage")

bless({ b => 1 }, "Getopt::Long::Descriptive::Opts::OPT::1")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant