summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@opscode.com>2021-04-28 16:14:31 -0700
committerGitHub <noreply@github.com>2021-04-28 16:14:31 -0700
commit05d8b6f49aba6080da30a28d9ea8546c4a497e0a (patch)
tree7e596023a1c6977dc523f91b2dfbbb1936b1df39
parentae856a74564ee9af2221c8f234a882874b312448 (diff)
parent4b264132f0cf7058f9e65d8ee6ab800d8bfcac72 (diff)
downloadchef-05d8b6f49aba6080da30a28d9ea8546c4a497e0a.tar.gz
Merge pull request #11470 from chef/lcg/better-deprecation-warning
-rw-r--r--lib/chef/formatters/doc.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb
index 513ac45471..2a3f9faef3 100644
--- a/lib/chef/formatters/doc.rb
+++ b/lib/chef/formatters/doc.rb
@@ -56,7 +56,8 @@ class Chef
# Print out deprecations.
unless deprecations.empty?
puts_line ""
- puts_line "Deprecated features used!"
+ puts_line "Deprecation warnings that must be addressed before upgrading to Chef Infra #{Chef::VERSION.to_i + 1}:"
+ puts_line ""
deprecations.each do |message, details|
locations = details[:locations]
if locations.size == 1