Skip to content

Commit f9838e4

Browse files
authored
Merge pull request #9889 from gitbutlerapp/docs-rub-overview-summary
Show concise rub summary in overview mode
2 parents 19e181e + 0b10164 commit f9838e4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

crates/but/src/args.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,20 @@ pub enum Subcommands {
2222
Status,
2323

2424
/// Combines two entities together to perform an operation.
25-
#[clap(about = "Combines two entities together to perform an operation.
26-
Non-exhaustive list of operations
25+
#[clap(
26+
about = "Combines two entities together to perform an operation",
27+
long_about = "Combines two entities together to perform an operation.
28+
29+
Non-exhaustive list of operations:
2730
│Source │Target
2831
──────┼───────────┼──────
2932
Amend │File,Branch│Commit
3033
Squash│Commit │Commit
3134
Assign│File,Branch│Branch
3235
Move │Commit │Branch
3336
34-
For examples `but rub --help`.")]
37+
For examples see `but rub --help`."
38+
)]
3539
Rub {
3640
/// The source entity to combine
3741
source: String,

0 commit comments

Comments
 (0)