From b237e6295cb93a19ae1c7302ac47faeac5a53fc6 Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Sun, 14 Mar 2010 21:01:00 -0500 Subject: [PATCH 1/1] Add extra usage information to commit --- src/mw/clicommands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index a0fb016..9d8b2dc 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -174,7 +174,8 @@ class DiffCommand(CommandBase): class CommitCommand(CommandBase): def __init__(self): - CommandBase.__init__(self, 'commit', 'commit changes to wiki') + usage = '[FILES]' + CommandBase.__init__(self, 'commit', 'commit changes to wiki', usage) self.shortcuts.append('ci') self.parser.add_option('-m', '--message', dest='edit_summary', help='don\'t prompt for edit summary and ' -- 2.30.2