Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
It seems like this is a common problem : https://stackoverflow.com/questions/15008758/parsing-boolean-values-with-argparse . I guess you want to store verbose=True when --verbose is passed and verbose=False when --verbose is not passed where store_true might help. ---------- nosy: +paul.j3, rhettinger, xtreak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com