p-ranav/structopt

Custom help message

kamchatka-volcano opened this issue · 1 comments

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

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.