Auto merge of #5771 - Manishearth:cargo-update, r=jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5771)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-04-21 09:49:31 -05:00
commit 3c4ca28a65

View file

@ -31,6 +31,15 @@ class MachCommands(CommandBase):
return subprocess.call(['cargo'] + params,
env=self.build_env())
@Command('cargo-update',
description='Same as update-cargo',
category='devenv')
@CommandArgument(
'params', default=None, nargs='...',
help='Command-line arguments to be passed through to cargo update')
def cargo_update(self, params=None):
self.update_cargo(params)
@Command('update-cargo',
description='Update Cargo dependencies',
category='devenv')