diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-10 14:58:37 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-09-10 14:58:37 -0700 |
commit | b54d4150a3b4f6716ecbca53279b3e5611196104 (patch) | |
tree | 24b97491aa46970b0ab866e9bf9de0f8a5e550ac /lib/chef/application.rb | |
parent | b1a5a4f7e3eb30d30ebd1c5b9e22b299441350a1 (diff) | |
download | chef-b54d4150a3b4f6716ecbca53279b3e5611196104.tar.gz |
fix this error message
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index a632a97319..36cb4401c9 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -163,7 +163,7 @@ class Chef chef_config[:specific_recipes] = cli_arguments.map { |file| File.expand_path(file) } else - Chef::Application.fatal!("Invalid arguments are not supported by the chef-client: \"" + + Chef::Application.fatal!("Invalid argument; could not find the following recipe files: \"" + cli_arguments.select { |file| !File.file?(file) }.join('", "') + '"') end end |