rustc man page and usage text update.

* 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.
This commit is contained in:
Orphée Lafond-Lummis 2012-10-03 19:55:47 -04:00
parent f885205b1b
commit ae4f8fb87a
2 changed files with 6 additions and 10 deletions

View File

@ -75,10 +75,7 @@ Write intermediate files (.bc, .opt.bc, .o)
in addition to normal output in addition to normal output
.TP .TP
\fB\-\-static\fR \fB\-\-static\fR
Use or produce static libraries or binaries Use or produce static libraries or binaries (experimental)
.TP
\fB\-\-stats\fR
Print compilation statistics
.TP .TP
\fB\-\-sysroot\fR <path> \fB\-\-sysroot\fR <path>
Override the system root Override the system root
@ -87,10 +84,9 @@ Override the system root
Build a test harness Build a test harness
.TP .TP
\fB\-\-target\fR <triple> \fB\-\-target\fR <triple>
Target cpu\-manufacturer\-kernel[\-os] to compile for Target cpu\-manufacturer\-kernel[\-os] to compile for (default: host triple)
(default: host triple) (see <\fBhttp://sources.redhat.com/autobook/autobook/autobook_17.html\fR> for
(see http://sources.redhat.com/autobook/autobook/ detail)
autobook_17.html for detail)
.TP .TP
\fB\-W\fR <foo> \fB\-W\fR <foo>
enable warning <foo> enable warning <foo>
@ -121,7 +117,7 @@ To build either with a crate (.rc) file:
$ rustc hello.rc $ rustc hello.rc
.SH "BUGS" .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" .SH "AUTHOR"
See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare

View File

@ -61,7 +61,7 @@ Options:
--save-temps Write intermediate files (.bc, .opt.bc, .o) --save-temps Write intermediate files (.bc, .opt.bc, .o)
in addition to normal output in addition to normal output
--static Use or produce static libraries or binaries --static Use or produce static libraries or binaries
--stats Print compilation statistics (experimental)
--sysroot <path> Override the system root --sysroot <path> Override the system root
--test Build a test harness --test Build a test harness
--target <triple> Target cpu-manufacturer-kernel[-os] to compile for --target <triple> Target cpu-manufacturer-kernel[-os] to compile for