Vincent Driessen added the comment:
Actually, this is a rather common concept. Broadly used tools like for example
Git use this kind of subcommand handling.
This command shows all remotes:
git remote(i.e. is like git remote list)
Showing/removing remotes is done using
Vincent Driessen added the comment:
Changed the title, so it shows that the feature request is for argparse.
--
title: optional subparsers -> argparse: optional subparsers
___
Python tracker
<http://bugs.python.org/iss
New submission from Vincent Driessen :
**NOTE**: This is a re-post of
http://code.google.com/p/argparse/issues/detail?id=47
What steps will reproduce the problem?
parser = argparse.ArgumentParser()
sub = parser.add_subparsers()
sub.add_parser("info")
parser.add_argum