Skip to content

Commit

Permalink
Add help text for the imports subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Oct 11, 2010
1 parent 45ca5eb commit 37db7f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/compass/commands/imports.rb
Expand Up @@ -16,6 +16,12 @@ class << self
def description(command)
"Emit an imports suitable for passing to the sass command-line."
end
def usage
"Usage: compass imports\n\n" +
"Prints out the imports known to compass.\n"+
"Useful for passing imports to the sass command line:\n" +
" sass -r compass `compass imports` a_file_using_compass.sass"
end
def parse!(arguments)
if arguments.join("").strip.size > 0
raise OptionParser::ParseError, "This command takes no options or arguments."
Expand Down

0 comments on commit 37db7f3

Please sign in to comment.