Python argparse and controlling/overriding the exit status code
Frage
Apart from tinkering with the argparse
source, is there any way to control the exit status code should there be a problem when parse_args()
is called, for example, a missing required switch?
Keine korrekte Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow