Replace **optparse** with **argparse** for long-term support, with Python 2.7 as the minimum supported version (PEP 389). See example on CRABServer side, https://github.com/dmwm/CRABServer/pull/9261