From: Karl Hasselström <kha@xxxxxxxxxxx> "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@xxxxxxxxxxx> --- stgit/main.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/stgit/main.py b/stgit/main.py index de35ca8..66128a3 100644 --- a/stgit/main.py +++ b/stgit/main.py @@ -226,8 +226,7 @@ def main(): option_list = command.options) parser.print_help() else: - print 'usage: %s help <command>' % prog - + print_help() sys.exit(0) if cmd in ['-v', '--version', 'version']: print 'Stacked GIT %s' % version - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html