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

Custom help message #19

Closed
kamchatka-volcano opened this issue Apr 10, 2021 · 1 comment
Closed

Custom help message #19

kamchatka-volcano opened this issue Apr 10, 2021 · 1 comment

Comments

@kamchatka-volcano
Copy link

Hi, do you plan to add ability of setting up a custom help message? structopt adds --help command line flag unconditionally, without ability to override built-in help message format, so I think it makes sense even if you add a help description per argument in the future.
It requires only a small change, I made it to the structopt bundled in my project, you can see how it looks here

@p-ranav
Copy link
Owner

p-ranav commented Apr 10, 2021

Thanks for the request.

Yeah it makes sense to support this - optionally disabling or overriding the default generated help message. My only concern is probably if there are any implications to nested structs (subcommands) but this can be given a little thought and then solved I'm sure.

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

2 participants