mirror of
https://github.com/servo/servo.git
synced 2025-06-23 00:24:35 +01:00
Remove allow_all_args from mach commands
This commit is contained in:
parent
850da49846
commit
8cb7a6842f
3 changed files with 10 additions and 19 deletions
|
@ -16,8 +16,7 @@ from servo.command_base import CommandBase, cd
|
|||
class MachCommands(CommandBase):
|
||||
@Command('cargo',
|
||||
description='Run Cargo',
|
||||
category='devenv',
|
||||
allow_all_args=True)
|
||||
category='devenv')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to Cargo")
|
||||
|
@ -27,8 +26,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
@Command('update-cargo',
|
||||
description='Update Cargo dependencies',
|
||||
category='devenv',
|
||||
allow_all_args=True)
|
||||
category='devenv')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help='Command-line arguments to be passed through to cargo update')
|
||||
|
@ -45,8 +43,7 @@ class MachCommands(CommandBase):
|
|||
|
||||
@Command('rustc',
|
||||
description='Run the Rust compiler',
|
||||
category='devenv',
|
||||
allow_all_args=True)
|
||||
category='devenv')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to rustc")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue