python argparse: how to set “--version” “--help” confilct?
I have a python command programe, it has optional --version and --help argument. I want to set them confict each other. it means i can not type --help --version at the same time. When i type ./demo --version --help it outputs the program's version infomation. When i type ./demo --help --version it outputs the program's…