Rename rustdoc options --themes and --check-themes to --theme and --check-theme

This commit is contained in:
Guillaume Gomez
2019-09-22 22:35:25 +02:00
parent 685b63a163
commit 8f9014d98f
6 changed files with 21 additions and 18 deletions

View File

@@ -251,13 +251,13 @@ fn opts() -> Vec<RustcOptGroup> {
o.optflag("", "sort-modules-by-appearance", "sort modules by where they appear in the \
program, rather than alphabetically")
}),
stable("themes", |o| {
o.optmulti("", "themes",
stable("theme", |o| {
o.optmulti("", "theme",
"additional themes which will be added to the generated docs",
"FILES")
}),
stable("check-themes", |o| {
o.optmulti("", "check-themes",
stable("check-theme", |o| {
o.optmulti("", "check-theme",
"check if given theme is valid",
"FILES")
}),