lib/adp-downloader/runner.rb in adp-downloader-0.2.2 vs lib/adp-downloader/runner.rb in adp-downloader-0.2.3
- old
+ new
@@ -31,9 +31,10 @@
end
def parse_options
options = OptionParser.new
options.banner = "Usage: adp-downloader [options]"
+ options.on("-e", "--employer EMP", "Employer name") { |e| Config.employer = e }
options.on("-v", "--quiet", "Only display errors") { Config.quiet = true }
options.on("-h", "--help", "Show this message") { puts(options); exit }
options.parse!(@arguments)
end
end