lib/xway/cli.rb in xway-0.0.1.beta vs lib/xway/cli.rb in xway-0.0.2.beta

- old
+ new

@@ -12,8 +12,10 @@ elsif commands.empty? Xway.parameter.print_help! else @out.puts @api.request(*commands) end + rescue MissingParameter => e + @out.puts e.message end end end