bin/messenger in messenger-0.0.1 vs bin/messenger in messenger-0.0.2
- old
+ new
@@ -42,21 +42,21 @@
version "Messenger #{Messenger.version} (c) Zencoder Inc. All rights reserved, etc."
banner <<-EOS
Messenger makes sending messages easy.
Usage:
- script/messenger [options] <service> <message>
+ messenger [options] <service> <message>
Where [options] are:
EOS
# Global options
opt :timeout, "The number of seconds to allow for the call", :type => Integer
# Email options
- opt :from, "Who the message is from (email).", :type => String
- opt :subject, "The message subject (email).", :type => String
+ opt :email_from, "Who the message is from (email).", :type => String
+ opt :email_subject, "The message subject (email).", :type => String
# Jabber options
opt :jabber_id, "The jabber ID to connect as (user@example.com)", :type => String
opt :jabber_password, "The password for your jabber id", :type => String
@@ -75,10 +75,10 @@
puts <<-EOS
Error: no service or message specified.
Usage (--help for more):
- script/messenger [options] <service> <message>
+ messenger [options] <service> <message>
EOS
exit -1
end