lib/aigu/cli.rb in aigu-0.3 vs lib/aigu/cli.rb in aigu-0.3.1
- old
+ new
@@ -47,22 +47,22 @@
def parse_options_from_arguments(options)
OptionParser.new do |opts|
opts.banner = 'Usage: aigu [options]'
opts.on('--input-directory=', 'The directory in which the Rails YAML localization files are stored.') do |directory|
- options[:input_directory] = directory
+ options[:'input-directory'] = directory
end
opts.on('--output-directory=', 'The directory in which the Rails YAML localization files will be generated.') do |directory|
- options[:output_directory] = directory
+ options[:'output-directory'] = directory
end
opts.on('--input-file=', 'The JSON file generated by Accent.') do |file|
- options[:input_file] = file
+ options[:'input-file'] = file
end
opts.on('--output-file=', 'The JSON file that will be generated for Accent.') do |file|
- options[:output_file] = file
+ options[:'output-file'] = file
end
opts.on('--locale=', 'The locale to use. Files will be processed/generated using the "<file>.<locale>.yml" pattern.') do |locale|
options[:locale] = locale
end