From 8d3c62af9f560866dd8fafc950177b87098bedab Mon Sep 17 00:00:00 2001 From: Dmitry Ermolov Date: Tue, 6 Aug 2013 02:49:01 +0400 Subject: [PATCH] Better documentation for --emit-llvm option. Document possible use with -S option. --- src/librustc/driver/driver.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustc/driver/driver.rs b/src/librustc/driver/driver.rs index 2c642d54253..c3c100a89f1 100644 --- a/src/librustc/driver/driver.rs +++ b/src/librustc/driver/driver.rs @@ -822,7 +822,8 @@ pub fn optgroups() -> ~[getopts::groups::OptGroup] { optmulti("", "cfg", "Configure the compilation environment", "SPEC"), optflag("", "emit-llvm", - "Produce an LLVM bitcode file"), + "Produce an LLVM assembly file if used with -S option; + produce an LLVM bitcode file otherwise"), optflag("h", "help","Display this message"), optmulti("L", "", "Add a directory to the library search path", "PATH"), -- 2.44.0