Serhiy Storchaka added the comment:
Proposed patch makes zipfile using argparse and adds tests for zipfile CLI.
Originally it is based on tarfile code and tests (but reworked, especially
tests). Basically the interface is not changed, but added support of long
options, and exit code in case of calling without options is changed from 1 to
2 (the same as wrong option is specified). The format of help and usage info is
changed of course.
Tests are passed with old releases of Python (except supporting long options).
They will be backported.
Added file: http://bugs.python.org/file45117/zipfile_argparse.patch
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list