summaryrefslogtreecommitdiff
path: root/lib/chef/search/query.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-12-19 12:03:52 -0800
committerClaire McQuin <claire@getchef.com>2014-12-19 12:03:52 -0800
commit2ec9334502cff103bc4cef3daf8d213bee211841 (patch)
tree9782eba3e4182eb4bbb07c740f53fd7532976f42 /lib/chef/search/query.rb
parent79ee763e6809ad6f767b5e0011a7469b5aa61c63 (diff)
downloadchef-2ec9334502cff103bc4cef3daf8d213bee211841.tar.gz
Fix spelling.
Diffstat (limited to 'lib/chef/search/query.rb')
-rw-r--r--lib/chef/search/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/search/query.rb b/lib/chef/search/query.rb
index 202734750a..7ca122c986 100644
--- a/lib/chef/search/query.rb
+++ b/lib/chef/search/query.rb
@@ -102,7 +102,7 @@ WARNDEP
def validate_type(t)
unless t.kind_of?(String) || t.kind_of?(Symbol)
msg = "Invalid search object type #{t.inspect} (#{t.class}), must be a String or Symbol." +
- "Useage: search(:node, QUERY[, OPTIONAL_ARGS])" +
+ "Usage: search(:node, QUERY[, OPTIONAL_ARGS])" +
" `knife search environment QUERY (options)`"
raise Chef::Exceptions::InvalidSearchQuery, msg
end