bin/ovaltine in ovaltine-1.0.5 vs bin/ovaltine in ovaltine-1.0.6
- old
+ new
@@ -10,10 +10,11 @@
require 'ovaltine'
require 'optparse'
parser_options = {
+ :copy => '',
:prefix => '',
:language => 'objc'
}
def exit_with_error(message)
@@ -29,9 +30,12 @@
opts.on('-o', '--output DIR', 'Specify output directory. Default is pwd') do |path|
parser_options[:output_directory] = path
end
opts.on('--prefix PREFIX', 'Specify class prefix for generated files') do |prefix|
parser_options[:prefix] = prefix
+ end
+ opts.on('--copyright COPY', 'Specify copyright info for file headers') do |copy|
+ parser_options[:copy] = copy
end
opts.on('--auto-add', 'Automatically add generated files to the Xcode project') do
parser_options[:auto_add] = true
end
opts.on('--auto-replace', 'Automatically replace files with the same name as generated files') do