austinbv / dino

Dino is a ruby gem that helps you bootstrap prototyping with an Arduino
MIT License
388 stars 84 forks source link

Print usage info on run without params #87

Closed vaclavbohac closed 6 years ago

vaclavbohac commented 8 years ago

Running dino without any params ends up in error:

$ ./bin/dino
./bin/dino:35:in `<main>': undefined method `match' for nil:NilClass (NoMethodError)
Did you mean?  catch

With this patch it will end up printing usage information.