]> git.lizzy.rs Git - rust.git/commitdiff
Better documentation for --emit-llvm option.
authorDmitry Ermolov <epdmitry@yandex.ru>
Mon, 5 Aug 2013 22:49:01 +0000 (02:49 +0400)
committerDmitry Ermolov <epdmitry@yandex.ru>
Tue, 6 Aug 2013 19:55:46 +0000 (23:55 +0400)
Document possible use with -S option.

src/librustc/driver/driver.rs

index 2c642d54253b6b79c4cf28d142ab5de3653d8042..c3c100a89f1357fc6f021907b7284cfe1041e4df 100644 (file)
@@ -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"),