Disregard extraneous arguments when providing help
authorKarl Hasselström <kha@treskal.com>
Wed, 25 Oct 2006 19:24:54 +0000 (20:24 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 25 Oct 2006 19:24:54 +0000 (20:24 +0100)
commita9d82c361e1923fc487ec06d4fa091ef1511732a
tree09a20689a807380d0edf938cdeac4b97d5671c63
parentd00e708af18a0fffe53795dc547873d3efd1c909
Disregard extraneous arguments when providing help

"stg --help pop" prints the help text for pop, but "stg --help pop
foo" just prints the list of commands. That's silly, so fix it by
simply ignoring the extra arguments.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/main.py