mirror of
https://github.com/servo/servo.git
synced 2025-06-21 07:38:59 +01:00
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:
parent
f554ab1c4d
commit
4f65720f19
1 changed files with 2 additions and 2 deletions
|
@ -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='...',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue