Is it possible to remove or disable an argument in argparse, such that
it does not show in the help?
Set help
to argparse.SUPPRESS
when you add the argument, like this:
parser.add_argument('--arg1', help=argparse.SUPPRESS)
This will prevent the argument from showing up in the default help output.