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

[BUG] wrong default usage string #76

Open
XSven opened this issue Jul 25, 2022 · 0 comments
Open

[BUG] wrong default usage string #76

XSven opened this issue Jul 25, 2022 · 0 comments

Comments

@XSven
Copy link

XSven commented Jul 25, 2022

According to the documentation "USAGE: %c %o" is the default usage_string. For my program I have configured 2 additional short options -d and -V but they are not shown when I am asking for short (-h) or long help (--help)

USAGE: my_program [-h] [long options ...]

If I am changing the import to this

use MooX::Options usage_string => 'USAGE: %c %o';

I get the expected result

USAGE: my_program [-dhV] [long options ...]

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