summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2015-09-29 13:36:03 -0700
committerTim Smith <tsmith84@gmail.com>2015-09-29 13:36:03 -0700
commit8e8146b8d6a9e2312c0a35f4b1b9c46d02414065 (patch)
tree39ef4555296859a474a2db36cbb2c6f2672e2a8d
parentbc82c3e8603f6908d80fc29beb1d0902563398e7 (diff)
downloadchef-8e8146b8d6a9e2312c0a35f4b1b9c46d02414065.tar.gz
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