Skip to content

Commit eebe736

Browse files
committed
Man page/--help dialog fix
* Running rustc with the --print option will accept "file-names" but not "output-file-names"
1 parent fe7e285 commit eebe736

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
@@ -755,7 +755,7 @@ pub fn rustc_short_optgroups() -> Vec<RustcOptGroup> {
755755
"[asm|llvm-bc|llvm-ir|obj|link|dep-info]"),
756756
opt::multi("", "print", "Comma separated list of compiler information to \
757757
print on stdout",
758-
"[crate-name|output-file-names|sysroot]"),
758+
"[crate-name|file-names|sysroot]"),
759759
opt::flag("g", "", "Equivalent to -C debuginfo=2"),
760760
opt::flag("O", "", "Equivalent to -C opt-level=2"),
761761
opt::opt("o", "", "Write output to <filename>", "FILENAME"),

0 commit comments

Comments
 (0)