diff options
author | danielsdeleo <dan@getchef.com> | 2015-02-25 12:21:57 -0800 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-02-26 09:25:35 -0800 |
commit | c2dfb56e730214266ae07a57a56e5889b1e6b85b (patch) | |
tree | 35be744ced735ba2b020d28aebe3ccdfde7d79b0 | |
parent | e1e0f850507da9cbf0e4247dcc92e6431a8cb1a1 (diff) | |
download | chef-c2dfb56e730214266ae07a57a56e5889b1e6b85b.tar.gz |
Send search count to stderr
-rw-r--r-- | lib/chef/knife/search.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/search.rb b/lib/chef/knife/search.rb index caca99b4d8..a6cec761ce 100644 --- a/lib/chef/knife/search.rb +++ b/lib/chef/knife/search.rb @@ -123,8 +123,8 @@ class Chef if ui.interchange? output({:results => result_count, :rows => result_items}) else - ui.msg "#{result_count} items found" - ui.msg("\n") + ui.log "#{result_count} items found" + ui.log("\n") result_items.each do |item| output(item) unless config[:id_only] |