lib/chef-cli/command/generator_commands/cookbook.rb in chef-cli-2.0.10 vs lib/chef-cli/command/generator_commands/cookbook.rb in chef-cli-3.0.1
- old
+ new
@@ -214,10 +214,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)
- msg("Hyphens are discouraged in cookbook names as they may cause problems with custom resources. See https://docs.chef.io/ctl_chef.html#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/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