Anton Barkovsky added the comment: Here's a patch that checks both sys.flags and sys.argv and uses argparse.
---------- Added file: http://bugs.python.org/file35933/code_flags_argparse.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21966> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com