Rename the --source and --target command line options to --sass-dir and --css-dir respectively to match the configuration file syntax.

This commit is contained in:
Chris Eppstein 2009-02-20 14:38:33 -08:00
parent e15edbe4d5
commit ccf0dfa19a
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ module Compass
# The subdirectory where the sass source is kept.
def project_src_subdirectory
Compass.configuration.sass_dir ||= options[:src_dir] || "src"
Compass.configuration.sass_dir ||= options[:sass_dir] || "src"
end
# The subdirectory where the css output is kept.

View File

@ -101,11 +101,11 @@ END
self.options[:command] = :watch_project
end
opts.on('--source SRC_DIR', "The source directory (where you keep your sass stylesheets).") do |src_dir|
self.options[:src_dir] = src_dir
opts.on('--sass-dir SRC_DIR', "The source directory where you keep your sass stylesheets.") do |sass_dir|
self.options[:sass_dir] = sass_dir
end
opts.on('--target CSS_DIR', "The target directory (where you keep your css stylesheets).") do |css_dir|
opts.on('--css-dir CSS_DIR', "The target directory where you keep your css stylesheets.") do |css_dir|
self.options[:css_dir] = css_dir
end