File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ multiple times. See {{man "cargo-pkgid" 1}} for the SPEC format.
3636
3737{{#options}}
3838
39+ {{#option "` --dry-run ` " }}
40+ Displays a summary of what would be deleted without deleting anything.
41+ Use with ` --verbose ` to display the actual files that would be deleted.
42+ {{/option}}
43+
3944{{#option "` --doc ` " }}
4045This option will cause ` cargo clean ` to remove only the ` doc ` directory in
4146the target directory.
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ OPTIONS
2222 multiple times. See cargo-pkgid(1) for the SPEC format.
2323
2424 Clean Options
25+ --dry-run
26+ Displays a summary of what would be deleted without deleting
27+ anything. Use with --verbose to display the actual files that would
28+ be deleted.
29+
2530 --doc
2631 This option will cause cargo clean to remove only the doc directory
2732 in the target directory.
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ multiple times. See <a href="cargo-pkgid.html">cargo-pkgid(1)</a> for the SPEC f
3434
3535<dl >
3636
37+ <dt class =" option-term " id =" option-cargo-clean---dry-run " ><a class =" option-anchor " href =" #option-cargo-clean---dry-run " ></a ><code >--dry-run</code ></dt >
38+ <dd class =" option-desc " >Displays a summary of what would be deleted without deleting anything.
39+ Use with <code >--verbose</code > to display the actual files that would be deleted.</dd >
40+
41+
3742<dt class =" option-term " id =" option-cargo-clean---doc " ><a class =" option-anchor " href =" #option-cargo-clean---doc " ></a ><code >--doc</code ></dt >
3843<dd class =" option-desc " >This option will cause <code >cargo clean</code > to remove only the <code >doc</code > directory in
3944the target directory.</dd >
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ multiple times. See \fBcargo\-pkgid\fR(1) for the SPEC format.
2525.RE
2626.SS "Clean Options"
2727.sp
28+ \fB \-\- dry \- run \fR
29+ .RS 4
30+ Displays a summary of what would be deleted without deleting anything.
31+ Use with \fB \-\- verbose \fR to display the actual files that would be deleted.
32+ .RE
33+ .sp
2834\fB \-\- doc \fR
2935.RS 4
3036This option will cause \fB cargo clean \fR to remove only the \fB doc \fR directory in
You can’t perform that action at this time.
0 commit comments