lib/opal/cli_options.rb in opal-0.8.1 vs lib/opal/cli_options.rb in opal-0.9.0.beta1
- old
+ new
@@ -117,10 +117,10 @@
end
dynamic_require_levels = %w[error warning ignore]
on('-D', '--dynamic-require LEVEL', dynamic_require_levels,
'Set level of dynamic require severity.',
- "(deafult: error, values: #{dynamic_require_levels.join(', ')})") do |level|
+ "(default: error, values: #{dynamic_require_levels.join(', ')})") do |level|
options[:dynamic_require_severity] = level.to_sym
end
on('-P', '--source-map [FILE]', 'Enable/Disable source map') do |file|
options[:source_map_enabled] = true