about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-28 12:51:46 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-28 12:51:46 -0700
commit2a2945e5dec13ba7b0839c947517a2ccbd944c64 (patch)
tree90ce8c38adc5449e57305fd281ece81e34db2b7b /src/comp
parentd106a336cc7a5f8b7a5aeadd851dd77937da0b36 (diff)
downloadrust-2a2945e5dec13ba7b0839c947517a2ccbd944c64.tar.gz
rust-2a2945e5dec13ba7b0839c947517a2ccbd944c64.zip
rustc: -h cleanup
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/driver/rustc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 40f7ebbc8b8..875acffe61a 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -250,14 +250,14 @@ options:
     --parse-only       parse only; do not compile, assemble, or link
     --no-trans         run all passes except translation; no output
     -g                 produce debug info
-    --opt-level=       optimize with possible levels 0-3
+    --opt-level <lvl>  optimize with possible levels 0-3
     -O                 equivalent to --opt-level=2
     -S                 compile only; do not assemble or link
     -c                 compile and assemble, but do not link
     --emit-llvm        produce an LLVM bitcode file
     --save-temps       write intermediate files in addition to normal output
     --stats            gather and report various compilation statistics
-    --cfg [cfgspec]    configure the compilation environment
+    --cfg <cfgspec>    configure the compilation environment
     --time-passes      time the individual phases of the compiler
     --time-llvm-passes time the individual phases of the LLVM backend
     --sysroot <path>   override the system root (default: rustc's directory)