lib/chef-cli/command/generator_commands/cookbook.rb in chef-cli-3.1.1 vs lib/chef-cli/command/generator_commands/cookbook.rb in chef-cli-3.1.3
- old
+ new
@@ -205,10 +205,10 @@
arguments = parse_options(params)
@cookbook_name_or_path = arguments[0]
if !@cookbook_name_or_path
@params_valid = false
elsif File.basename(@cookbook_name_or_path).include?("-")
- msg("Hyphens are discouraged in cookbook names as they may cause problems with custom resources. See https://docs.chef.io/ctl_chef/#chef-generate-cookbook for more information.")
+ msg("Hyphens are discouraged in cookbook names as they may cause problems with custom resources. See https://docs.chef.io/workstation/ctl_chef/#chef-generate-cookbook for more information.")
end
if config[:berks] && config[:policy]
err("Berkshelf and Policyfiles are mutually exclusive. Please specify only one.")
@params_valid = false