Skip to content

Commit 8d3c62a

Browse files
committed
Better documentation for --emit-llvm option.
Document possible use with -S option.
1 parent 7208095 commit 8d3c62a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/driver/driver.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ pub fn optgroups() -> ~[getopts::groups::OptGroup] {
822822
optmulti("", "cfg", "Configure the compilation
823823
environment", "SPEC"),
824824
optflag("", "emit-llvm",
825-
"Produce an LLVM bitcode file"),
825+
"Produce an LLVM assembly file if used with -S option;
826+
produce an LLVM bitcode file otherwise"),
826827
optflag("h", "help","Display this message"),
827828
optmulti("L", "", "Add a directory to the library search path",
828829
"PATH"),

0 commit comments

Comments
 (0)