diff options
author | Lance Albertson <lance@osuosl.org> | 2020-09-14 11:32:19 -0700 |
---|---|---|
committer | Lance Albertson <lance@osuosl.org> | 2020-09-15 14:04:36 -0700 |
commit | bb241fa03a04b3b636fcb05c53472a332a22d783 (patch) | |
tree | 53e5bd39d331c14e13281f30a358f677dad7f5a3 | |
parent | 633954eb959f4226953bbf7e16a48c44c51981e9 (diff) | |
download | chef-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.rb | 3 | ||||
-rw-r--r-- | lib/chef/application/knife.rb | 2 |
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 |