diff --git a/.changes/unreleased/Removed-20240724-120607.yaml b/.changes/unreleased/Removed-20240724-120607.yaml new file mode 100644 index 00000000..09ad35ac --- /dev/null +++ b/.changes/unreleased/Removed-20240724-120607.yaml @@ -0,0 +1,3 @@ +kind: Removed +body: 'branch delete: Drop short form `-f` for the `--force` flag.' +time: 2024-07-24T12:06:07.858133-07:00 diff --git a/branch_delete.go b/branch_delete.go index 10ce331f..80d9d9b3 100644 --- a/branch_delete.go +++ b/branch_delete.go @@ -14,7 +14,7 @@ import ( ) type branchDeleteCmd struct { - Force bool `short:"f" help:"Force deletion of the branch"` + Force bool `help:"Force deletion of the branch"` Branch string `arg:"" optional:"" help:"Name of the branch to delete" predictor:"branches"` } diff --git a/doc/includes/cli-reference.md b/doc/includes/cli-reference.md index dbdea0bb..ff305f44 100644 --- a/doc/includes/cli-reference.md +++ b/doc/includes/cli-reference.md @@ -530,7 +530,7 @@ Provide a name as an argument to skip the prompt. **Flags** -* `-f`, `--force`: Force deletion of the branch +* `--force`: Force deletion of the branch ### gs branch fold