mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Rename 'cargo-clippy' mach command to just 'clippy' (#34481)
Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
parent
1eedfd3cf3
commit
e4ec84fad1
2 changed files with 3 additions and 3 deletions
|
@ -125,12 +125,12 @@ class MachCommands(CommandBase):
|
|||
self.ensure_clobbered()
|
||||
return self.run_cargo_build_like_command("fix", params, **kwargs)
|
||||
|
||||
@Command('cargo-clippy',
|
||||
@Command('clippy',
|
||||
description='Run "cargo clippy"',
|
||||
category='devenv')
|
||||
@CommandArgument(
|
||||
'params', default=None, nargs='...',
|
||||
help="Command-line arguments to be passed through to cargo-clippy")
|
||||
help="Command-line arguments to be passed through to clippy")
|
||||
@CommandBase.common_command_arguments(build_configuration=True, build_type=False)
|
||||
def cargo_clippy(self, params, **kwargs):
|
||||
if not params:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue