summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <lance@osuosl.org>2020-09-14 11:32:19 -0700
committerLance Albertson <lance@osuosl.org>2020-09-14 11:32:19 -0700
commit06dfd43b3a415f580801ea22d96a7434e25b4efc (patch)
treecdab619ed65b73c788f26b7b5e0da5e379666b16
parent70acac6d89afe2fcbb9c5c1e6cb3bd729a6ecb54 (diff)
downloadchef-06dfd43b3a415f580801ea22d96a7434e25b4efc.tar.gz
Move Chef::Dist::KNIFE_DOCS to ChefUtils::Dist::Org::KNIFE_DOCS
Signed-off-by: Lance Albertson <lance@osuosl.org>
-rw-r--r--chef-utils/lib/chef-utils/dist.rb3
-rw-r--r--lib/chef/application/knife.rb2
2 files changed, 4 insertions, 1 deletions
diff --git a/chef-utils/lib/chef-utils/dist.rb b/chef-utils/lib/chef-utils/dist.rb
index fc3afd7717..2b554e541f 100644
--- a/chef-utils/lib/chef-utils/dist.rb
+++ b/chef-utils/lib/chef-utils/dist.rb
@@ -59,6 +59,9 @@ module ChefUtils
# product patents page
PATENTS = "https://www.chef.io/patents".freeze
+
+ # knife documentation page
+ KNIFE_DOCS = "https://docs.chef.io/workstation/knife/".freeze
end
class Server
diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb
index 3a86c3b832..448337da55 100644
--- a/lib/chef/application/knife.rb
+++ b/lib/chef/application/knife.rb
@@ -220,7 +220,7 @@ class Chef::Application::Knife < Chef::Application
if want_help?
puts "#{Chef::Dist::PRODUCT}: #{Chef::VERSION}"
puts
- puts "Docs: #{Chef::Dist::KNIFE_DOCS}"
+ puts "Docs: #{ChefUtils::Dist::Org::KNIFE_DOCS}"
puts "Patents: #{ChefUtils::Dist::Org::PATENTS}"
puts
end