How do I replace the built in '-h' action in python using argparse? -
i creating command line tool in python, , i'm using argparse parse input.
i want use '-h' action, automatically assigned --help. how can override , have -h action?
parser = argparse.argumentparser(add_help=false)
thanks asking, because had same problem other day , bothered checking documentation now.
Comments
Post a Comment