encukou/test-1 — Issue #62: Use argparse
Author: encukou
Created: 2011-11-03 19:49:01+00:00
State: open
Labels: api, feature, low-priority

**Reported by [Eevee](http://bugs.veekun.com/users/1) on 2011/04/22 04:48:58 +0000 · Migrated from [Redmine issue 586](http://bugs.veekun.com/issues/586)**

---

It supports subcommands, so we could hopefully stop the nonsense we’re doing now to dispatch between commands. Maybe it can print better help than we have right now, too.

It’s 2.7+, though; is there a backport?

Redmine metadata:
Updated on: 2011/04/22 13:33:18 +0000
Start date: 2011/04/22

---

**Comment by [En-Cu-Kou](http://github.com/encukou) from 2011/04/22 13:33:18 +0000**

Backports all the way to 2.3. Except they’re not really backports – all that changed in 2.7 was that it got into the stdlib.

[pip install argparse](http://pypi.python.org/pypi/argparse/1.2.1)