Permalink
Browse files

add debug information to tilt help

  • Loading branch information...
thinkerbot committed Feb 4, 2012
1 parent e9ad928 commit 1dfc11ade603dd8768e0b1a44d2ba67936187465
Showing with 6 additions and 1 deletion.
  1. +6 −1 bin/tilt
View
@@ -24,7 +24,7 @@ describe the base dir for relative paths, and the output directory. The output
files are printed to stdout. With no <files> or when a <file> is '-', read
files from stdin.
-Options
+Options:
-l, --list List template engines + file patterns and exit
-t, --type=<pattern> Use this template engine; required if no <file>
-y, --layout=<file> Use <file> as a layout template
@@ -58,6 +58,11 @@ Define variables:
Answer: 42
$ echo "Answer: <%= 2 + n.to_i %>" | tilt -t erb -Dn=40
Answer: 42
+
+To debug:
+
+ $ RUBYOPT=-d tilt ...
+
USAGE
class TiltExe

0 comments on commit 1dfc11a

Please sign in to comment.