Barf on invalid commands

This commit is contained in:
Richo Healey 2014-05-06 22:17:57 -07:00
parent 396a5dc26b
commit d67e376c73

View file

@ -197,6 +197,9 @@ STR
when "archive" then archive(args[1], args[2])
when "tweet" then tweet(args[1], args[2])
when "jsonify" then jsonify(args[1..-1])
else
log usage
exit 1
end
end
end