Rollup merge of #73315 - GuillaumeGomez:clean-up-config-strs, r=kinnison

Clean up some weird command strings

r? @kinnison
This commit is contained in:
Manish Goregaokar 2020-06-18 15:20:53 -07:00 committed by GitHub
commit ed92b6a633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,9 +165,8 @@ fn opts() -> Vec<RustcOptGroup> {
o.optmulti( o.optmulti(
"", "",
"passes", "passes",
"list of passes to also run, you might want \ "list of passes to also run, you might want to pass it multiple times; a value of \
to pass it multiple times; a value of `list` \ `list` will print available passes",
will print available passes",
"PASSES", "PASSES",
) )
}), }),
@ -248,8 +247,8 @@ fn opts() -> Vec<RustcOptGroup> {
"e", "e",
"extend-css", "extend-css",
"To add some CSS rules with a given file to generate doc with your \ "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 \ own theme. However, your theme might break if the rustdoc's generated HTML \
changes, so be careful!", changes, so be careful!",
"PATH", "PATH",
) )
}), }),
@ -262,7 +261,7 @@ fn opts() -> Vec<RustcOptGroup> {
"", "",
"playground-url", "playground-url",
"URL to send code snippets to, may be reset by --markdown-playground-url \ "URL to send code snippets to, may be reset by --markdown-playground-url \
or `#![doc(html_playground_url=...)]`", or `#![doc(html_playground_url=...)]`",
"URL", "URL",
) )
}), }),
@ -276,8 +275,7 @@ fn opts() -> Vec<RustcOptGroup> {
o.optflag( o.optflag(
"", "",
"sort-modules-by-appearance", "sort-modules-by-appearance",
"sort modules by where they appear in the \ "sort modules by where they appear in the program, rather than alphabetically",
program, rather than alphabetically",
) )
}), }),
stable("theme", |o| { stable("theme", |o| {
@ -358,7 +356,7 @@ fn opts() -> Vec<RustcOptGroup> {
"", "",
"static-root-path", "static-root-path",
"Path string to force loading static files from in output pages. \ "Path string to force loading static files from in output pages. \
If not set, uses combinations of '../' to reach the documentation root.", If not set, uses combinations of '../' to reach the documentation root.",
"PATH", "PATH",
) )
}), }),