@@ -30,7 +30,7 @@ This will show `rustdoc`'s version, which will look something
30
30
like this:
31
31
32
32
``` text
33
- rustdoc 1.y .0 (hash date )
33
+ rustdoc 1.17 .0 (56124baa9 2017-04-24 )
34
34
```
35
35
36
36
## ` -v ` /` --verbose ` : more verbose output
@@ -47,18 +47,16 @@ to standard out. What is written depends on the other flags you've passed in.
47
47
For example, with ` --version ` :
48
48
49
49
``` text
50
- $ rustdoc --version -v
51
- rustdoc 1.y .0 (hash date )
50
+ $ rustdoc --verbose --version
51
+ rustdoc 1.17 .0 (56124baa9 2017-04-24 )
52
52
binary: rustdoc
53
53
commit-hash: hash
54
54
commit-date: date
55
55
host: host-triple
56
- release: 1.y .0
57
- LLVM version: x.y
56
+ release: 1.17 .0
57
+ LLVM version: 3.9
58
58
```
59
59
60
- stable(optopt("r", "input-format", "the input type of the specified file",
61
- "[ rust] ")),
62
60
## ` -r ` /` --input-format ` : input format
63
61
64
62
This flag is currently ignored; the idea is that ` rustdoc ` would support various
@@ -69,8 +67,6 @@ file ends in `.md` or `.markdown`, `rustdoc` treats it as a Markdown file.
69
67
Otherwise, it assumes that the input file is Rust.
70
68
71
69
72
- stable(optopt("w", "output-format", "the output type to write",
73
- "[ html] ")),
74
70
## ` -w ` /` --output-format ` : output format
75
71
76
72
This flag is currently ignored; the idea is that ` rustdoc ` would support
@@ -92,7 +88,6 @@ the current working directory. With this flag, it will place all output
92
88
into the directory you specify.
93
89
94
90
95
- stable(optopt("", "crate-name", "specify the name of this crate", "NAME")),
96
91
## ` --crate-name ` : controlling the name of the crate
97
92
98
93
Using this flag looks like this:
@@ -105,8 +100,6 @@ By default, `rustodc` assumes that the name of your crate is the same name
105
100
as the ` .rs ` file. ` --crate-name ` lets you override this assumption with
106
101
whatever name you choose.
107
102
108
- stable(optmulti("L", "library-path", "directory to add to crate search path",
109
- "DIR")),
110
103
## ` -L ` /` --library-path ` :
111
104
112
105
Using this flag looks like this:
@@ -219,8 +212,6 @@ on documentation tests](documentation-tests.html).
219
212
220
213
See also ` --test-args ` .
221
214
222
- stable(optmulti("", "test-args", "arguments to pass to the test runner",
223
- "ARGS")),
224
215
## ` --test-args ` :
225
216
226
217
Using this flag looks like this:
@@ -234,7 +225,6 @@ For more, see [the chapter on documentation tests](documentation-tests.html).
234
225
235
226
See also ` --test ` .
236
227
237
- stable(optopt("", "target", "target triple to document", "TRIPLE")),
238
228
## ` --target ` :
239
229
240
230
Using this flag looks like this:
0 commit comments