diff --git a/lib/compass/commands/update_project.rb b/lib/compass/commands/update_project.rb index b9906fbe..adddf2bf 100644 --- a/lib/compass/commands/update_project.rb +++ b/lib/compass/commands/update_project.rb @@ -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. diff --git a/lib/compass/exec.rb b/lib/compass/exec.rb index 701d72bb..9347a3f4 100644 --- a/lib/compass/exec.rb +++ b/lib/compass/exec.rb @@ -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