[Command Line] Improved descriptions of the watch and init commands.
This commit is contained in:
parent
732fc8f042
commit
9a49c457da
@ -68,7 +68,7 @@ module Compass
|
|||||||
if command.to_sym == :create
|
if command.to_sym == :create
|
||||||
"Create a new compass project"
|
"Create a new compass project"
|
||||||
else
|
else
|
||||||
"Initialize an existing project"
|
"Add compass to an existing project"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -97,6 +97,10 @@ module Compass
|
|||||||
end
|
end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
def description(command)
|
||||||
|
"Compile Sass stylesheets to CSS when they change"
|
||||||
|
end
|
||||||
|
|
||||||
def option_parser(arguments)
|
def option_parser(arguments)
|
||||||
parser = Compass::Exec::CommandOptionParser.new(arguments)
|
parser = Compass::Exec::CommandOptionParser.new(arguments)
|
||||||
parser.extend(Compass::Exec::GlobalOptionsParser)
|
parser.extend(Compass::Exec::GlobalOptionsParser)
|
||||||
|
Loading…
Reference in New Issue
Block a user