Skip to content

Commit 286129a

Browse files
committed
fix(report): show manpage hint in help test
1 parent 94f2dc3 commit 286129a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/bin/cargo/commands/report.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ pub fn cli() -> Command {
2525
)
2626
.value_name("id"),
2727
)
28-
.arg_package("Package to display a report for"),
28+
.arg_package("Package to display a report for")
29+
.after_help(color_print::cstr!(
30+
"Run `<bright-cyan,bold>cargo help report-future-incompat</>` for more detailed information.\n"
31+
)),
2932
)
3033
.subcommand(
3134
subcommand("timings")

tests/testsuite/cargo_report_future_incompat/help/stdout.term.svg

Lines changed: 5 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)