Skip to content

Commit 59c9f5e

Browse files
committed
Merge pull request #20485 from ipetkov/man-fix
Man page/--help dialog fix Reviewed-by: alexcrichton
2 parents 05abc65 + eebe736 commit 59c9f5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

man/rustc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Specify the name of the crate being built
3434
\fB\-\-emit\fR [asm|llvm-bc|llvm-ir|obj|link|dep-info]
3535
Configure the output that rustc will produce
3636
.TP
37-
\fB\-\-print\fR [crate-name|output-file-names|sysroot]
37+
\fB\-\-print\fR [crate-name|file-names|sysroot]
3838
Comma separated list of compiler information to print on stdout
3939
.TP
4040
\fB\-g\fR

src/librustc/session/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
754754
"[asm|llvm-bc|llvm-ir|obj|link|dep-info]"),
755755
opt::multi("", "print", "Comma separated list of compiler information to \
756756
print on stdout",
757-
"[crate-name|output-file-names|sysroot]"),
757+
"[crate-name|file-names|sysroot]"),
758758
opt::flag("g", "", "Equivalent to -C debuginfo=2"),
759759
opt::flag("O", "", "Equivalent to -C opt-level=2"),
760760
opt::opt("o", "", "Write output to <filename>", "FILENAME"),

0 commit comments

Comments
 (0)