Add extra usage information to commit
[mw] / src / mw / clicommands.py
index a0fb016fad1130816702d92794871725870a687e..9d8b2dc1e08bef229af2ddfb9a872fe6faff61ee 100644 (file)
@@ -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 '

Benjamin Mako Hill || Want to submit a patch?