Skip to content

Commit

Permalink
rustc man page and usage text update.
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
orpheuslummis committed Oct 4, 2012
1 parent f885205 commit ae4f8fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions man/rustc.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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>
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/rustc/driver/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae4f8fb

Please sign in to comment.