]> git.lizzy.rs Git - rust.git/commitdiff
Add precisions for the help message for --extend-css
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 23 May 2017 18:48:16 +0000 (20:48 +0200)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 23 May 2017 22:15:26 +0000 (00:15 +0200)
src/librustdoc/lib.rs

index be974d4a08a09c7e1f597f4192cedfd3c727b165..2362f0aea98e0b4747c55f7a6c6f122c2b4381c9 100644 (file)
@@ -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")),