Add usage documentation for --print cfg

The `--print` flag was extended in #31278 to accept `cfg`, but the
usage message was not updated.
This commit is contained in:
Andrea Canciani 2016-02-14 23:09:44 +01:00
parent b9e61c9f40
commit 01daf90d5d

View File

@ -887,7 +887,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
"[asm|llvm-bc|llvm-ir|obj|link|dep-info]"),
opt::multi_s("", "print", "Comma separated list of compiler information to \
print on stdout",
"[crate-name|file-names|sysroot|target-list]"),
"[crate-name|file-names|sysroot|cfg|target-list]"),
opt::flagmulti_s("g", "", "Equivalent to -C debuginfo=2"),
opt::flagmulti_s("O", "", "Equivalent to -C opt-level=2"),
opt::opt_s("o", "", "Write output to <filename>", "FILENAME"),