about summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-11-17 12:23:43 +0800
committerMarijn Haverbeke <marijnh@gmail.com>2011-11-17 09:28:30 +0100
commit388eed383f05dbc322d5808faf7d52091d0c0fca (patch)
tree44236821d2641d1f713b551275f676d5f1c1c926 /man
parentfe6484d3e6edbcc84805bae053180cb2cdf27805 (diff)
downloadrust-388eed383f05dbc322d5808faf7d52091d0c0fca.tar.gz
rust-388eed383f05dbc322d5808faf7d52091d0c0fca.zip
rustc: Add a flag '--warn-unused-imports'
Followup of issue #889
Diffstat (limited to 'man')
-rw-r--r--man/rustc.13
1 files changed, 3 insertions, 0 deletions
diff --git a/man/rustc.1 b/man/rustc.1
index 36ddea96ef4..55b9a3d5743 100644
--- a/man/rustc.1
+++ b/man/rustc.1
@@ -123,6 +123,9 @@ Build a test harness.
 .TP
 \fB--stack-growth\fR:
 \fBEXPERIMENTAL\fR. Perform stack growth checks.
+.TP
+\fB--warn-unused-imports\fR:
+Warn about unnecessary imports.
 .SH "BUGS"
 See \fBhttps://github.com/graydon/rust/issues\fR for a list of known bugs.
 .SH "AUTHOR"