diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-07-28 10:33:20 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-07-28 10:33:20 -0700 |
commit | 7e976aaa84a3423abaea8b02c3168c5063735a33 (patch) | |
tree | ad1680616598f2396e1922b51bcfc79a9ffa19ce /lib/mixlib/cli.rb | |
parent | d81f780663bd43f7c565f357094aea87f86262cc (diff) | |
download | mixlib-cli-spelling.tar.gz |
Fix minor typosspelling
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/mixlib/cli.rb')
-rw-r--r-- | lib/mixlib/cli.rb | 4 |
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 |