Skip to content

Commit

Permalink
Help mesasage improvement (#138) (#278)
Browse files Browse the repository at this point in the history
* Display a message after help message to notify unrecognized subcommands are passed to cargo

* Applied cargo fmt
  • Loading branch information
chikoski committed Apr 22, 2024
1 parent db4277e commit 920dbdc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/core/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down

0 comments on commit 920dbdc

Please sign in to comment.