Skip to content

Commit d9520dc

Browse files
committed
alias st for status, hide stf
stf should be found in the status docs rather than listed as a seperate command.
1 parent e1eeb8b commit d9520dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/but/src/args.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ pub enum Subcommands {
1919
/// Provides an overview of the Workspace commit graph.
2020
Log,
2121
/// Overview of the uncommitted changes in the repository.
22+
#[clap(alias = "st")]
2223
Status {
2324
/// Determines whether the committed files should be shown as well.
2425
#[clap(short = 'f', alias = "files", default_value_t = false)]
2526
show_files: bool,
2627
},
2728
/// Overview of the uncommitted changes in the repository with files shown.
2829
/// Equivalent to `but status --files`.
30+
#[clap(hide = true)]
2931
Stf,
3032

3133
/// Combines two entities together to perform an operation.

0 commit comments

Comments
 (0)