Correct the CLI help on the default value of environment.
This commit is contained in:
parent
5962a85a99
commit
f775fa0ca0
@ -37,14 +37,14 @@ module Compass::Exec::ProjectOptionsParser
|
|||||||
end
|
end
|
||||||
|
|
||||||
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.',
|
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment.',
|
||||||
' One of: development, production (default)') do |env|
|
' One of: development (default), production') do |env|
|
||||||
self.options[:environment] = env
|
self.options[:environment] = env
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on('-s STYLE', '--output-style STYLE', [:nested, :expanded, :compact, :compressed], 'Select a CSS output mode.',
|
opts.on('-s STYLE', '--output-style STYLE', [:nested, :expanded, :compact, :compressed], 'Select a CSS output mode.',
|
||||||
' One of: nested, expanded, compact, compressed') do |style|
|
' One of: nested, expanded, compact, compressed') do |style|
|
||||||
self.options[:output_style] = style
|
self.options[:output_style] = style
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on('--relative-assets', :NONE, 'Make compass asset helpers generate relative urls to assets.') do
|
opts.on('--relative-assets', :NONE, 'Make compass asset helpers generate relative urls to assets.') do
|
||||||
self.options[:relative_assets] = true
|
self.options[:relative_assets] = true
|
||||||
|
Loading…
Reference in New Issue
Block a user