testing: fix --mercurial-port option to use hypthen
authorGregory Szorc <gps@mozilla.com>
Mon, 19 Jan 2015 15:51:59 -0500
changeset 360144 6ff7dbe1ad9be21c2ddba189ba80dfa5ccbb57df
parent 360143 4b09e9cff8e451244cfccdfd4f0006d1f3646f62
child 360145 29dc3db8c9229817ba893832cbf15e88f31d5ac9
push id16998
push userrwood@mozilla.com
push dateMon, 02 May 2016 19:42:03 +0000
testing: fix --mercurial-port option to use hypthen This looks like it was a typo. Derp.
testing/vcttesting/mozreview_mach_commands.py
--- a/testing/vcttesting/mozreview_mach_commands.py
+++ b/testing/vcttesting/mozreview_mach_commands.py
@@ -23,17 +23,17 @@ class MozReviewCommands(object):
     @Command('start', category='mozreview',
         description='Start a MozReview instance')
     @CommandArgument('where', nargs='?',
         help='Directory of MozReview instance')
     @CommandArgument('--bugzilla-port', type=int,
         help='Port Bugzilla HTTP server should listen on.')
     @CommandArgument('--reviewboard-port', type=int,
         help='Port Review Board HTTP server should listen on.')
-    @CommandArgument('--mercurial_port', type=int,
+    @CommandArgument('--mercurial-port', type=int,
         help='Port Mercurial HTTP server should listen on.')
     def start(self, where, bugzilla_port, reviewboard_port,
             mercurial_port):
         mr = self._get_mozreview(where)
         mr.start(bugzilla_port=bugzilla_port,
                 reviewboard_port=reviewboard_port,
                 mercurial_port=mercurial_port,
                 verbose=True)