aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
authorPer Lundberg <perlun@gmail.com>2016-04-14 22:57:03 +0300
committerPer Lundberg <perlun@gmail.com>2016-04-14 22:57:03 +0300
commit6653c26c90c6ae005c1f98bc028f795a07bf0cad (patch)
tree3cf8aac78a3c2f169ff4751873dd46c53dc05a29 /python/servo/devenv_commands.py
parent4807dadf19175d38414130a74eb1163c65129ba6 (diff)
downloadservo-6653c26c90c6ae005c1f98bc028f795a07bf0cad.tar.gz
servo-6653c26c90c6ae005c1f98bc028f795a07bf0cad.zip
Added warning for update-cargo -a
To quote Lars Bergstrom: > yeah, that's a giant footgun :-)
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r--python/servo/devenv_commands.py6
1 files 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 = []