Skip to content

Commit

Permalink
cli diff help: add detailed explanation of -r merge_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Nov 21, 2023
1 parent e3852ff commit d8df36b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cli/src/commands/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ use crate::ui::Ui;
#[derive(clap::Args, Clone, Debug)]
pub(crate) struct DiffArgs {
/// Show changes in this revision, compared to its parent(s)
///
/// If the revision is a merge commit, this shows changes *from* the
/// automatic merge of the contents of all of its parents *to* the contents
/// of the revision itself.
#[arg(long, short)]
revision: Option<RevisionArg>,
/// Show changes from this revision
Expand Down

0 comments on commit d8df36b

Please sign in to comment.