Commit e3936c27 authored by Jonathan Riddell's avatar Jonathan Riddell 🛶

add copying licence

parent e34fa3e9
This diff is collapsed.
......@@ -31,15 +31,15 @@ parser = OptionParser.new do |opts|
Usage: appstream-metainfo-release-update 'org.foo.metainfo.xml'
EOS
opts.on("-v", "--version VERSION",
"version to add") do |vers|
"version to add e.g. 1.0") do |vers|
@version << vers
end
opts.on("-d", "--datestring DATE_STRING",
"date to use 'today' 'next Thursday' etc") do |date_string|
"date to use 'today' 'next Thursday' '2018-01-01' etc") do |date_string|
@date << date_string
end
opts.on("-r", "--releases_to_show RELEASES_TO_SHOW",
"how many releases to include in file") do |releases_to_show|
"how many releases to include in file (default infinite)") do |releases_to_show|
@releases_to_show = releases_to_show || 0
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment