aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-05-15 07:59:45 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-05-15 07:59:45 -0700
commit4f65720f19404a9f57ad8d5806cf466defc448b0 (patch)
tree1501a99ab517abfa96e5aaed544a4919d763376b /python/servo/post_build_commands.py
parentf554ab1c4d0253e168247e5b3846d5461e0ede99 (diff)
downloadservo-4f65720f19404a9f57ad8d5806cf466defc448b0.tar.gz
servo-4f65720f19404a9f57ad8d5806cf466defc448b0.zip
Make "mach run -d" an alias for "mach run --dev"
(And the same for `rr-record`.) For consistency with `mach build`.
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 667e4c6ace5..385e71ebee7 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -75,7 +75,7 @@ class MachCommands(CommandBase):
category='post-build')
@CommandArgument('--release', '-r', action='store_true',
help='Run the release build')
- @CommandArgument('--dev', action='store_true',
+ @CommandArgument('--dev', '-d', action='store_true',
help='Run the dev build')
@CommandArgument('--debug', action='store_true',
help='Enable the debugger. Not specifying a '
@@ -127,7 +127,7 @@ class MachCommands(CommandBase):
category='post-build')
@CommandArgument('--release', '-r', action='store_true',
help='Use release build')
- @CommandArgument('--dev', action='store_true',
+ @CommandArgument('--dev', '-d', action='store_true',
help='Use dev build')
@CommandArgument(
'params', nargs='...',