Skip to content

Commit f9ae557

Browse files
committed
Add proper descriptions to commands and arguments
1 parent e7a77ae commit f9ae557

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plumbing/options/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,21 +388,21 @@ pub mod merge {
388388
pub mod diff {
389389
use gix::bstr::BString;
390390

391+
/// Print all changes between two objects
391392
#[derive(Debug, clap::Parser)]
392-
#[command(about = "TODO")]
393393
pub struct Platform {
394394
#[clap(subcommand)]
395395
pub cmd: SubCommands,
396396
}
397397

398398
#[derive(Debug, clap::Subcommand)]
399399
pub enum SubCommands {
400-
/// TODO
400+
/// Diff two trees by specifying their revspecs.
401401
Tree {
402-
/// TODO
402+
/// A revspec representing the before or old tree
403403
#[clap(value_parser = crate::shared::AsBString)]
404404
old_treeish: BString,
405-
/// TODO
405+
/// A revspec representing the after or new tree
406406
#[clap(value_parser = crate::shared::AsBString)]
407407
new_treeish: BString,
408408
},

0 commit comments

Comments
 (0)