about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-05-23 20:48:16 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-05-24 00:15:26 +0200
commitb4d594f46c6c8b460e194bf2d8da016f8eae0bf6 (patch)
tree924696201e12550334732aead3786be357fc5776
parent7d4a6c8ec1412adce0c8bbd606ac0b697370e331 (diff)
downloadrust-b4d594f46c6c8b460e194bf2d8da016f8eae0bf6.tar.gz
rust-b4d594f46c6c8b460e194bf2d8da016f8eae0bf6.zip
Add precisions for the help message for --extend-css
-rw-r--r--src/librustdoc/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index be974d4a08a..2362f0aea98 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -162,8 +162,9 @@ pub fn opts() -> Vec<RustcOptGroup> {
                       "URL to send code snippets to", "URL")),
         stable(optflag("", "markdown-no-toc", "don't include table of contents")),
         stable(optopt("e", "extend-css",
-                      "to redefine some css rules with a given file to generate doc with your \
-                       own theme", "PATH")),
+                      "To add some CSS rules with a given file to generate doc with your \
+                       own theme. However, your theme might break if the rustdoc's generated HTML \
+                       changes, so be careful!", "PATH")),
         unstable(optmulti("Z", "",
                           "internal and debugging options (only on nightly build)", "FLAG")),
         stable(optopt("", "sysroot", "Override the system root", "PATH")),