]> git.lizzy.rs Git - rust.git/commitdiff
rustc man page and usage text update.
authorOrphée Lafond-Lummis <o@orftz.com>
Wed, 3 Oct 2012 23:55:47 +0000 (19:55 -0400)
committerOrphée Lafond-Lummis <o@orftz.com>
Thu, 4 Oct 2012 00:19:20 +0000 (20:19 -0400)
* Mark --static as experimental;
* Remove --stats, as the option isn't implemented.
* Bold and surround by pointy brackets (<>) all the URLs of rustc man page, for
  consistency.

man/rustc.1
src/rustc/driver/rustc.rs

index f1a0a0131e1371f7b5406fb7552e6a79dd9e37ff..f5888015944a5a3d0a211fb2663a0e79364027e8 100644 (file)
@@ -75,10 +75,7 @@ Write intermediate files (.bc, .opt.bc, .o)
 in addition to normal output
 .TP
 \fB\-\-static\fR
-Use or produce static libraries or binaries
-.TP
-\fB\-\-stats\fR
-Print compilation statistics
+Use or produce static libraries or binaries (experimental)
 .TP
 \fB\-\-sysroot\fR <path>
 Override the system root
@@ -87,10 +84,9 @@ Override the system root
 Build a test harness
 .TP
 \fB\-\-target\fR <triple>
-Target cpu\-manufacturer\-kernel[\-os] to compile for
-(default: host triple)
-(see http://sources.redhat.com/autobook/autobook/
-autobook_17.html for detail)
+Target cpu\-manufacturer\-kernel[\-os] to compile for (default: host triple)
+(see <\fBhttp://sources.redhat.com/autobook/autobook/autobook_17.html\fR> for
+detail)
 .TP
 \fB\-W\fR <foo>
 enable warning <foo>
@@ -121,7 +117,7 @@ To build either with a crate (.rc) file:
     $ rustc hello.rc
 
 .SH "BUGS"
-See \fBhttps://github.com/mozilla/rust/issues\fR for a list of known bugs.
+See <\fBhttps://github.com/mozilla/rust/issues\fR> for a list of known bugs.
 
 .SH "AUTHOR"
 See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare
index 7db9261d133020fbd4c77f0336b89526ed83460c..c6b93fc0603ab1adb633447d34efb7673d94761c 100644 (file)
@@ -61,7 +61,7 @@ fn usage(argv0: ~str) {
     --save-temps       Write intermediate files (.bc, .opt.bc, .o)
                        in addition to normal output
     --static           Use or produce static libraries or binaries
-    --stats            Print compilation statistics
+                       (experimental)
     --sysroot <path>   Override the system root
     --test             Build a test harness
     --target <triple>  Target cpu-manufacturer-kernel[-os] to compile for