Skip to content

Commit b4d594f

Browse files
Add precisions for the help message for --extend-css
1 parent 7d4a6c8 commit b4d594f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/librustdoc/lib.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,9 @@ pub fn opts() -> Vec<RustcOptGroup> {
162162
"URL to send code snippets to", "URL")),
163163
stable(optflag("", "markdown-no-toc", "don't include table of contents")),
164164
stable(optopt("e", "extend-css",
165-
"to redefine some css rules with a given file to generate doc with your \
166-
own theme", "PATH")),
165+
"To add some CSS rules with a given file to generate doc with your \
166+
own theme. However, your theme might break if the rustdoc's generated HTML \
167+
changes, so be careful!", "PATH")),
167168
unstable(optmulti("Z", "",
168169
"internal and debugging options (only on nightly build)", "FLAG")),
169170
stable(optopt("", "sysroot", "Override the system root", "PATH")),

0 commit comments

Comments
 (0)