Make "mach run -d" an alias for "mach run --dev"

(And the same for `rr-record`.) For consistency with `mach build`.
This commit is contained in:
Matt Brubeck 2015-05-15 07:59:45 -07:00
parent f554ab1c4d
commit 4f65720f19

View file

@ -75,7 +75,7 @@ class MachCommands(CommandBase):
category='post-build') category='post-build')
@CommandArgument('--release', '-r', action='store_true', @CommandArgument('--release', '-r', action='store_true',
help='Run the release build') help='Run the release build')
@CommandArgument('--dev', action='store_true', @CommandArgument('--dev', '-d', action='store_true',
help='Run the dev build') help='Run the dev build')
@CommandArgument('--debug', action='store_true', @CommandArgument('--debug', action='store_true',
help='Enable the debugger. Not specifying a ' help='Enable the debugger. Not specifying a '
@ -127,7 +127,7 @@ class MachCommands(CommandBase):
category='post-build') category='post-build')
@CommandArgument('--release', '-r', action='store_true', @CommandArgument('--release', '-r', action='store_true',
help='Use release build') help='Use release build')
@CommandArgument('--dev', action='store_true', @CommandArgument('--dev', '-d', action='store_true',
help='Use dev build') help='Use dev build')
@CommandArgument( @CommandArgument(
'params', nargs='...', 'params', nargs='...',