Let "stg help" be like "stg --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)
commit4fe42e6312780d5c325ddd8e533b3198d065bd05
treec352010c86e5ccda91e405200892f0b0206601c3
parent275bf2c0d5cb48b370587cf2583a87b20e4872ac
Let "stg help" be like "stg --help"

"stg --help" prints the list of commands, but "stg help" just prints
the usage message for the help command. This may be useful in theory,
but the distinction is probably lost on 95% of all users (and the
remaining 5% probably don't need to see the usage message for the help
command anyway, since they know how it works). So just make both
commands output the helpful command list.

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