projects
/
mw
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
80daa3b
)
Add extra usage information to commit
author
Ian Weller
<ian@ianweller.org>
Mon, 15 Mar 2010 02:01:00 +0000
(21:01 -0500)
committer
Ian Weller
<ian@ianweller.org>
Mon, 15 Mar 2010 02:01:00 +0000
(21:01 -0500)
src/mw/clicommands.py
patch
|
blob
|
history
diff --git
a/src/mw/clicommands.py
b/src/mw/clicommands.py
index a0fb016fad1130816702d92794871725870a687e..9d8b2dc1e08bef229af2ddfb9a872fe6faff61ee 100644
(file)
--- a/
src/mw/clicommands.py
+++ b/
src/mw/clicommands.py
@@
-174,7
+174,8
@@
class DiffCommand(CommandBase):
class CommitCommand(CommandBase):
def __init__(self):
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 '
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?