Skip to content

Commit

Permalink
allow filename to be nil if not specified
Browse files Browse the repository at this point in the history
Specifying the filename compromises the logic that handles a nil
filename in GTBI::Export generate method.
  • Loading branch information
lakelse committed Oct 6, 2015
1 parent 9e18a4d commit 6bf3ab5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
end
opts.on('-r [ARG]', '--repository', 'Export only one repository') do |v|
options[:repository] = v
options[:filename] ||= v + '.zip'
end
opts.on('-h', '--help', 'Show this message') do |v|
puts opts
Expand Down

0 comments on commit 6bf3ab5

Please sign in to comment.