summaryrefslogtreecommitdiff
path: root/lib/mixlib/cli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mixlib/cli.rb')
-rw-r--r--lib/mixlib/cli.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/cli.rb b/lib/mixlib/cli.rb
index b8f5748..30efbd3 100644
--- a/lib/mixlib/cli.rb
+++ b/lib/mixlib/cli.rb
@@ -140,7 +140,7 @@ module Mixlib
# and converts it to a value suitable for the new option.
# If not provided, the value provided to the deprecated option will be
# assigned directly to the converted option.
- # keep<Boolean> :: Defaults to true, this ensure sthat `options[:deprecated_flag]` is
+ # keep<Boolean> :: Defaults to true, this ensures that `options[:deprecated_flag]` is
# populated when the deprecated flag is used. If set to false,
# only the value in `replacement` will be set. Results undefined
# if no replacement is provided. You can use this to enforce the transition
@@ -194,7 +194,7 @@ module Mixlib
# === Returns
# @options<Hash>:: The current options hash.
def options=(val)
- raise(ArgumentError, "Options must recieve a hash") unless val.is_a?(Hash)
+ raise(ArgumentError, "Options must receive a hash") unless val.is_a?(Hash)
@options = val
end