python argparse: how to set “--version” “--help” confilct?

前端 未结 0 1818
小鲜肉
小鲜肉 2020-12-30 02:39

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 --h

相关标签:
回答
  • 消灭零回复
提交回复
热议问题