Commit 6b27055
committed
Auto merge of #13557 - epage:doc, r=weihanglo
fix(doc): Collapse down Generated statuses without --verbose
### What does this PR try to resolve?
This is trying to balance
- Overwhelming the user with a lot of paths
- Clarity to the user that the one path is representative of the rest
clap before:
```
Finished dev [unoptimized + debuginfo] target(s) in 3.81s
Generated /home/epage/src/personal/clap/target/doc/clap/index.html
Generated /home/epage/src/personal/clap/target/doc/stdio_fixture/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_bench/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_builder/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_complete/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_complete_fig/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_complete_nushell/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_derive/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_lex/index.html
Generated /home/epage/src/personal/clap/target/doc/clap_mangen/index.html
```
clap after:
```
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s
Generated /home/epage/src/personal/clap/target/doc/clap/index.html and 9 other files
```
Fixes #13336
### How should we test and review this PR?
Tests were updated in earlier commits to help show the behavior change
### Additional informationFile tree
3 files changed
+71
-11
lines changed- src/cargo/ops
- tests/testsuite
3 files changed
+71
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
95 | 125 | | |
96 | 126 | | |
97 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
565 | | - | |
| 564 | + | |
566 | 565 | | |
567 | 566 | | |
568 | 567 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
| 312 | + | |
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
| |||
658 | 657 | | |
659 | 658 | | |
660 | 659 | | |
661 | | - | |
662 | | - | |
| 660 | + | |
663 | 661 | | |
664 | 662 | | |
665 | 663 | | |
| |||
1186 | 1184 | | |
1187 | 1185 | | |
1188 | 1186 | | |
1189 | | - | |
1190 | | - | |
1191 | | - | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1192 | 1223 | | |
1193 | 1224 | | |
1194 | 1225 | | |
| |||
0 commit comments