carlobaldassi / ArgParse.jl

Package for parsing command-line arguments to Julia programs.
Other
236 stars 36 forks source link

Make the "type:" and "default:" string automatically generated by `--help` optional #118

Open brainandforce opened 2 years ago

brainandforce commented 2 years ago

It seems that there is no way to disable this portion of the automatically generated help from showing up. Here's an example from something I'm writing:

@add_arg_table! argtable begin
        "--number-of-outputs", "-n"
            help = "The number of different outputs to be written."
            arg_type = Int
            default = 1

Results in this help string:

  -n, --number-of-outputs NUMBER-OF-OUTPUTS
                        The number of different outputs to be written.
                        (type: Int64, default: 1)

I'd like to include/format that information myself, so if there could be some sort of flag in ArgParseSettings() to disable that portion, that would be great.