From: Ian Weller Date: Mon, 15 Mar 2010 02:01:00 +0000 (-0500) Subject: Add extra usage information to commit X-Git-Url: https://projects.mako.cc/source/mw/commitdiff_plain/b237e6295cb93a19ae1c7302ac47faeac5a53fc6 Add extra usage information to commit --- 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 '