From 6dde0b1c8645ed2cac9cff9ec7c3e340aa63ca4f Mon Sep 17 00:00:00 2001 From: Aaron Kalin Date: Fri, 19 Apr 2019 15:26:32 -0500 Subject: Misnamed parameter Signed-off-by: Aaron Kalin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 368c113..45ebedd 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ In addition to the command to run there are other options that can be set to cha Run a command as the `www` user with no extra ENV settings from `/tmp` with a 1s timeout ```ruby - cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp', :timeout => 1) + cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :environment => nil, :cwd => '/tmp', :timeout => 1) cmd.run_command # etc. ``` -- cgit v1.2.1