Skip to content

Commit

Permalink
cli: describe: Mark conflicting message/stdin args
Browse files Browse the repository at this point in the history
  • Loading branch information
MrJohz committed Jan 22, 2025
1 parent e469d06 commit ddef46c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/src/commands/describe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ pub(crate) struct DescribeArgs {
///
/// If multiple revisions are specified, the same description will be used
/// for all of them.
#[arg(long = "message", short, value_name = "MESSAGE")]
#[arg(
long = "message",
short,
value_name = "MESSAGE",
conflicts_with = "stdin"
)]
message_paragraphs: Vec<String>,
/// Read the change description from stdin
///
Expand Down

0 comments on commit ddef46c

Please sign in to comment.