about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarosl LEE <github@barosl.com>2015-01-21 02:16:46 +0900
committerBarosl LEE <github@barosl.com>2015-01-21 02:16:46 +0900
commit409c9972a954b56eb278c91666d33b09aeb00c6a (patch)
tree7116b6402dd3d0c13970a8c074c62e1cf4c8a28b
parent8f5ab04b472622fcc3e61877c73298ac293e849e (diff)
parent4d31700067e5bc549b475e4b2560657b8483003f (diff)
Rollup merge of #21309 - thorncp:rustdoc-man-page, r=kmcallister
Brings the rustdoc man page in sync with the options specified in
src/librustdoc/lib.rs. The text was taken verbatim, but I tweaked the
order to be (what I think is) somewhat logical.

This should close #13622.
-rw-r--r--man/rustdoc.130
1 files changed, 30 insertions, 0 deletions
diff --git a/man/rustdoc.1 b/man/rustdoc.1
index 4c6557f0f65..830884b19bd 100644
--- a/man/rustdoc.1
+++ b/man/rustdoc.1
@@ -35,9 +35,27 @@ space-separated list of plugins to run (default: '')
 --plugin-path <val>
 directory to load plugins from (default: /tmp/rustdoc_ng/plugins)
 .TP
+--target <val>
+target triple to document
+.TP
+--crate-name <val>
+specify the name of this crate
+.TP
 -L --library-path <val>
 directory to add to crate search path
 .TP
+--cfg <val>
+pass a --cfg to rustc
+.TP
+--extern <val>
+pass an --extern to rustc
+.TP
+--test
+run code examples as tests
+.TP
+--test-args <val>
+pass arguments to the test runner
+.TP
 --html-in-header <val>
 file to add to <head>
 .TP
@@ -47,8 +65,20 @@ file to add in <body>, before content
 --html-after-content <val>
 file to add in <body>, after content
 .TP
+--markdown-css <val>
+CSS files to include via <link> in a rendered Markdown file
+.TP
+--markdown-playground-url <val>
+URL to send code snippets to
+.TP
+--markdown-no-toc
+don't include table of contents
+.TP
 -h, --help
 Print help
+.TP
+-V, --version
+Print rustdoc's version
 
 .SH "OUTPUT FORMATS"