mardi 19 juillet 2016

Python argparse and controlling/overriding the exit status code


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?


Aucun commentaire:

Enregistrer un commentaire