in reply to How can I have both short and long options with Getopt::Long?
It doesn't look like you can do exactly what you want. You can turn use no_auto_abbrev as others have noted and specify 'v|verbose' as your option, but this will allow '--v', which you explicitly stated you don't want.
I think that's as close as you can get, since although bundling will not allow long options with a single dash, there is no similar option that disables abbreviated options with a double dash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can I have both short and long options with Getopt::Long?
by Anonymous Monk on Nov 12, 2009 at 14:46 UTC |