diff --git a/README.md b/README.md index a9ab09a..e1719f4 100644 --- a/README.md +++ b/README.md @@ -889,7 +889,7 @@ Options: # Default: false ``` -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. +Deletes a pacticipant branch. Does not delete the versions or pacts/verifications associated with the branch, but does make the pacts 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 acd211d..a0b17f6 100644 --- a/lib/pact_broker/client/cli/branch_commands.rb +++ b/lib/pact_broker/client/cli/branch_commands.rb @@ -9,7 +9,8 @@ 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. 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." + desc "delete-branch", "Deletes a pacticipant branch. Does not delete the versions or pacts/verifications associated with the branch, but does make the pacts inaccessible for verification via consumer versions selectors or WIP pacts." + def delete_branch require "pact_broker/client/branches/delete_branch"