cli diff: add short description to jj help and jj diff -h

This commit is contained in:
Ilya Grigoriev 2023-11-20 16:13:56 -08:00
parent 16620e0e4c
commit e3852ffd55

View File

@ -19,6 +19,7 @@ use crate::cli_util::{CommandError, CommandHelper, RevisionArg};
use crate::diff_util::{diff_formats_for, show_diff, DiffFormatArgs}; use crate::diff_util::{diff_formats_for, show_diff, DiffFormatArgs};
use crate::ui::Ui; use crate::ui::Ui;
/// Compare file contents between two commits
#[derive(clap::Args, Clone, Debug)] #[derive(clap::Args, Clone, Debug)]
pub(crate) struct DiffArgs { pub(crate) struct DiffArgs {
/// Show changes in this revision, compared to its parent(s) /// Show changes in this revision, compared to its parent(s)