Skip to content

Commit

Permalink
add debug information to tilt help
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerbot committed Feb 4, 2012
1 parent e9ad928 commit 1dfc11a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/tilt
Expand Up @@ -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 are printed to stdout. With no <files> or when a <file> is '-', read
files from stdin. files from stdin.
Options Options:
-l, --list List template engines + file patterns and exit -l, --list List template engines + file patterns and exit
-t, --type=<pattern> Use this template engine; required if no <file> -t, --type=<pattern> Use this template engine; required if no <file>
-y, --layout=<file> Use <file> as a layout template -y, --layout=<file> Use <file> as a layout template
Expand Down Expand Up @@ -58,6 +58,11 @@ Define variables:
Answer: 42 Answer: 42
$ echo "Answer: <%= 2 + n.to_i %>" | tilt -t erb -Dn=40 $ echo "Answer: <%= 2 + n.to_i %>" | tilt -t erb -Dn=40
Answer: 42 Answer: 42
To debug:
$ RUBYOPT=-d tilt ...
USAGE USAGE


class TiltExe class TiltExe
Expand Down

0 comments on commit 1dfc11a

Please sign in to comment.