peetzweg / papr

Command line tool to generate a PDF Calendars
35 stars 1 forks source link

Replace deprecated optparse with argparse #11

Closed peetzweg closed 8 years ago

peetzweg commented 8 years ago

The python optparse module is deprecated since python version 2.7 and is replaced with argparse. We should switch to argparse in the near future to be compatible with future versions of python and implement new cli features.

https://docs.python.org/2/library/optparse.html https://docs.python.org/2/library/argparse.html

peetzweg commented 8 years ago

Done in the huge commit 295de8add0b496d1cde70fef93aebc366142fc28