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-15 14:04:36 -0700
commitbb241fa03a04b3b636fcb05c53472a332a22d783 (patch)
tree53e5bd39d331c14e13281f30a358f677dad7f5a3
parent633954eb959f4226953bbf7e16a48c44c51981e9 (diff)
downloadchef-bb241fa03a04b3b636fcb05c53472a332a22d783.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