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
.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

View File

@ -61,7 +61,7 @@ Options:
--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