Skip to content

Commit 6b0e2f7

Browse files
committed
Add cargo doc --examples subcommand
1 parent 259ea8c commit 6b0e2f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bin/cargo/commands/doc.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ pub fn cli() -> App {
1111
.arg(opt(
1212
"open",
1313
"Opens the docs in a browser after the operation",
14+
))
15+
.arg(opt(
16+
"examples",
17+
"Document all examples",
1418
))
1519
.arg_package_spec(
1620
"Package to document",

0 commit comments

Comments
 (0)