In argparse, I want optional arguments to appear in the help list under optional arguments:
but not in the usage text. I can use help=argparse.SUPPRESS
in the argument to remove it from usage but this has the side effect of removing it from the argument descriptions in the help text.
Is it possible -- and if so, how -- to suppress the argument only in the usage.
Additionally, how would I go about replacing all of the optional arguments with a consolidated [--args]
indicator in the usage.