From 4f65720f19404a9f57ad8d5806cf466defc448b0 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Fri, 15 May 2015 07:59:45 -0700 Subject: [PATCH] Make "mach run -d" an alias for "mach run --dev" (And the same for `rr-record`.) For consistency with `mach build`. --- python/servo/post_build_commands.py | 4 ++-- 1 file 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='...',