diff options
author | Tim Smith <tsmith84@gmail.com> | 2016-03-05 21:19:16 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2016-03-05 21:21:39 -0800 |
commit | 7e334f961c951c3df84cb24feb98b22607355bc0 (patch) | |
tree | 422f322d63bb3ce50d1cb49e59b0cd8bd23924ae | |
parent | fc687aabc64b844e2e68f23a21ecdb8176bc975e (diff) | |
download | chef-7e334f961c951c3df84cb24feb98b22607355bc0.tar.gz |
Provide a docs link for the first error every knife user gets
This one confused me the first time I used Chef and judging by the number of questions / views on stack overflow I'm not the only person. Lets just link to the docs here so people can quickly figure out what needs to be set and how.
-rw-r--r-- | lib/chef/knife/edit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/edit.rb b/lib/chef/knife/edit.rb index 5275f3c59b..8489e4e179 100644 --- a/lib/chef/knife/edit.rb +++ b/lib/chef/knife/edit.rb @@ -58,7 +58,7 @@ class Chef # Let the user edit the temporary file if !system("#{config[:editor]} #{file.path}") - raise "Please set EDITOR environment variable" + raise "Please set EDITOR environment variable. See https://docs.chef.io/knife_using.html for details." end result_text = IO.read(file.path) |