about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDmitry Ermolov <epdmitry@yandex.ru>2013-08-06 02:49:01 +0400
committerDmitry Ermolov <epdmitry@yandex.ru>2013-08-06 23:55:46 +0400
commit8d3c62af9f560866dd8fafc950177b87098bedab (patch)
treebfb444a070a6865adb98946348e46f9f61e1d218 /src
parent72080954b9deb3a6a5f793d2fd1ef32c3d5acb5d (diff)
Better documentation for --emit-llvm option.
Document possible use with -S option.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/driver/driver.rs3
1 files changed, 2 insertions, 1 deletions
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"),