From 37db7f3b8c7e2faeb72463b97059bbca5720c6a7 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 11 Oct 2010 02:33:35 -0700 Subject: [PATCH] Add help text for the imports subcommand. Closes GH-182 --- lib/compass/commands/imports.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/compass/commands/imports.rb b/lib/compass/commands/imports.rb index 24505258..43c1e67a 100644 --- a/lib/compass/commands/imports.rb +++ b/lib/compass/commands/imports.rb @@ -16,6 +16,12 @@ module Compass 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."