From 7973602859e34689acdd3568848a9a1c7e8dc69f Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Sat, 11 Nov 2023 11:08:59 +1100 Subject: [PATCH] docs: add clarification to delete-branch command --- README.md | 2 +- lib/pact_broker/client/cli/branch_commands.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc398d2..a9ab09a 100644 --- a/README.md +++ b/README.md @@ -889,7 +889,7 @@ Options: # Default: false ``` -Deletes a pacticipant branch. +Deletes a pacticipant branch. Does not delete the versions or pacts associated with the branch, but does make them inaccessible for verification via consumer versions selectors or WIP pacts. ### Tags diff --git a/lib/pact_broker/client/cli/branch_commands.rb b/lib/pact_broker/client/cli/branch_commands.rb index e10b4fb..acd211d 100644 --- a/lib/pact_broker/client/cli/branch_commands.rb +++ b/lib/pact_broker/client/cli/branch_commands.rb @@ -9,7 +9,7 @@ def self.included(thor) method_option :error_when_not_found, type: :boolean, default: true, desc: "Raise an error if the branch that is to be deleted is not found." shared_authentication_options - desc "delete-branch", "Deletes a pacticipant branch." + desc "delete-branch", "Deletes a pacticipant branch. Does not delete the versions or pacts associated with the branch, but does make them inaccessible for verification via consumer versions selectors or WIP pacts." def delete_branch require "pact_broker/client/branches/delete_branch"