summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2015-10-06 18:12:13 +0100
committerThom May <thom@may.lt>2015-10-06 18:12:13 +0100
commita233b5fc09d8151c429dc99c8a907ffab4664203 (patch)
tree2ba0d66e9d72a52a33b350e7a02a272f57897a91
parentdac2c684d4a90d810b56477bed96e5261cb1cfaa (diff)
parent8e8146b8d6a9e2312c0a35f4b1b9c46d02414065 (diff)
downloadchef-a233b5fc09d8151c429dc99c8a907ffab4664203.tar.gz
Merge pull request #3999 from tas50/unshare_warning
Better warning for unsharing
-rw-r--r--lib/chef/knife/cookbook_site_unshare.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/cookbook_site_unshare.rb b/lib/chef/knife/cookbook_site_unshare.rb
index b34282ec32..77bb18322c 100644
--- a/lib/chef/knife/cookbook_site_unshare.rb
+++ b/lib/chef/knife/cookbook_site_unshare.rb
@@ -38,7 +38,7 @@ class Chef
exit 1
end
- confirm "Do you really want to unshare the cookbook #{@cookbook_name}"
+ confirm "Do you really want to unshare all versions of the cookbook #{@cookbook_name}"
begin
rest.delete_rest "https://supermarket.chef.io/api/v1/cookbooks/#{@name_args[0]}"
@@ -48,7 +48,7 @@ class Chef
exit 1
end
- ui.info "Unshared cookbook #{@cookbook_name}"
+ ui.info "Unshared all versions of the cookbook #{@cookbook_name}"
end
end