diff options
Diffstat (limited to 'lib/chef/application/knife.rb')
-rw-r--r-- | lib/chef/application/knife.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application/knife.rb b/lib/chef/application/knife.rb index c80d0245f1..521011348f 100644 --- a/lib/chef/application/knife.rb +++ b/lib/chef/application/knife.rb @@ -203,11 +203,11 @@ class Chef::Application::Knife < Chef::Application Chef::Log.error(fatal_message) if fatal_message begin - self.parse_options + parse_options rescue OptionParser::InvalidOption => e puts "#{e}\n" end - puts self.opt_parser + puts opt_parser puts Chef::Knife.list_commands exit exitcode |