diff --git a/bin/mpw b/bin/mpw index 464980c..a69b568 100755 --- a/bin/mpw +++ b/bin/mpw @@ -48,7 +48,7 @@ command = "#{bin_dir}/mpw-#{ARGV[0]}" if Dir.glob("#{bin_dir}/mpw-*").include?("#{command}") begin Kernel.load(command) - rescue Exception => e + rescue OptionParser::ParseError => e puts "#{I18n.t('display.error')}: #{e}".red end else