From ae4f8fb87a146fc716b4ad3222b01b7ef7536a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orph=C3=A9e=20Lafond-Lummis?= Date: Wed, 3 Oct 2012 19:55:47 -0400 Subject: [PATCH] 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. --- man/rustc.1 | 14 +++++--------- src/rustc/driver/rustc.rs | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/man/rustc.1 b/man/rustc.1 index f1a0a0131e1..f5888015944 100644 --- a/man/rustc.1 +++ b/man/rustc.1 @@ -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 Override the system root @@ -87,10 +84,9 @@ Override the system root Build a test harness .TP \fB\-\-target\fR -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 enable warning @@ -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 diff --git a/src/rustc/driver/rustc.rs b/src/rustc/driver/rustc.rs index 7db9261d133..c6b93fc0603 100644 --- a/src/rustc/driver/rustc.rs +++ b/src/rustc/driver/rustc.rs @@ -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 Override the system root --test Build a test harness --target Target cpu-manufacturer-kernel[-os] to compile for