]> projects.mako.cc - mw/commitdiff
adding -b option for --bot
authorkeby <keby@erebor.(none)>
Thu, 20 May 2010 20:54:09 +0000 (22:54 +0200)
committerkeby <keby@erebor.(none)>
Thu, 20 May 2010 20:54:09 +0000 (22:54 +0200)
src/mw/clicommands.py

index 6db3cb800f12c381d0eb539a2a92c4269923ada4..7931ac69e9c5a3ae2504b18cd842c84c944bb9c0 100644 (file)
@@ -190,7 +190,7 @@ class CommitCommand(CommandBase):
         self.parser.add_option('-m', '--message', dest='edit_summary',
                                help='don\'t prompt for edit summary and '
                                'use this instead')
         self.parser.add_option('-m', '--message', dest='edit_summary',
                                help='don\'t prompt for edit summary and '
                                'use this instead')
-        self.parser.add_option('--bot', dest='bot', action='store_true',
+        self.parser.add_option('-b', '--bot', dest='bot', action='store_true',
                                help='mark actions as a bot (won\'t affect '
                                'anything if you don\'t have the bot right',
                                default=False)
                                help='mark actions as a bot (won\'t affect '
                                'anything if you don\'t have the bot right',
                                default=False)

Benjamin Mako Hill || Want to submit a patch?