From 6653c26c90c6ae005c1f98bc028f795a07bf0cad Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Thu, 14 Apr 2016 22:57:03 +0300 Subject: [PATCH] Added warning for update-cargo -a To quote Lars Bergstrom: > yeah, that's a giant footgun :-) --- python/servo/devenv_commands.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py index d16c4ce619c..4ad07477f3f 100644 --- a/python/servo/devenv_commands.py +++ b/python/servo/devenv_commands.py @@ -62,10 +62,12 @@ class MachCommands(CommandBase): help='Command-line arguments to be passed through to cargo update') @CommandArgument( '--package', '-p', default=None, - help='Updates selected package') + help='Updates the selected package') @CommandArgument( '--all-packages', '-a', action='store_true', - help='Updates all packages') + help='Updates all packages. NOTE! This is very likely to break your ' + + 'working copy, making it impossible to build servo. Only do ' + + 'this if you really know what you are doing.') def update_cargo(self, params=None, package=None, all_packages=None): if not params: params = []