bin/netprint in netprint-0.1.0 vs bin/netprint in netprint-0.1.1
- old
+ new
@@ -10,12 +10,12 @@
#{program_name} -h | --help
Options:
-h --help Show this screen.
-v --version Show version information.
- -u --user=<userid:password> User account. if not specified, use ENV['NETPRINT_(USERID|PASSWORD)']
- -e --email=<email> Email address to notify
- -s --secret=<secret> Secret code
+ -u --user=<userid:password> User account. If not specified, ENV['NETPRINT_(USERID|PASSWORD)'] is used.
+ -e --email=<email> Email address to notify. If not specified, ENV['NETPRINT_EMAIL'] is used.
+ -s --secret=<secret> Secret code.
EOS
begin
options = Docopt::docopt(doc, :version => Netprint::VERSION)
userid, password = options['--user'].split(':') if options['--user']