From 920dbdc8cec4a06c5bcd04f64d3d9a5fc3f09896 Mon Sep 17 00:00:00 2001 From: "N. Shimizu" Date: Tue, 23 Apr 2024 02:51:04 +0900 Subject: [PATCH] Help mesasage improvement (#138) (#278) * Display a message after help message to notify unrecognized subcommands are passed to cargo * Applied cargo fmt --- crates/core/src/command.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/core/src/command.rs b/crates/core/src/command.rs index 5a3cf9fa..3d92ccbb 100644 --- a/crates/core/src/command.rs +++ b/crates/core/src/command.rs @@ -5,6 +5,9 @@ use clap::{ArgAction, Args}; /// Common options for commands. #[derive(Args)] +#[command( + after_help = "Unrecognized subcommands will be passed to cargo verbatim after relevant component bindings are updated." +)] pub struct CommonOptions { /// Do not print log messages #[clap(long = "quiet", short = 'q')]