samples/download_webpage.rb in args_parser-0.1.3 vs samples/download_webpage.rb in args_parser-0.1.4

- old
+ new

@@ -7,9 +7,10 @@ parser = ArgsParser.parse ARGV do arg :url, 'URL', :alias => :u arg :output, 'output file', :alias => :o, :default => 'out.html' arg :verbose, 'verbose mode' + arg :time, 'time', :default => lambda{ Time.now } arg :help, 'show help', :alias => :h filter :url do |v| v.to_s.strip end