Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Updated docs & bin usage
Browse files Browse the repository at this point in the history
  • Loading branch information
asabhaney committed Jan 14, 2014
1 parent d53866f commit 23cd09b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/swig.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ var command,
j: 'Variable context as a JSON file.',
c: 'Variable context as a CommonJS-style file. Used only if option `j` is not provided.',
m: 'Minify compiled functions with uglify-js',
'filters': 'File containing custom filters',
'tags': 'File containing custom tags',
'filters': 'Custom filters as a CommonJS-style file',
'tags': 'Custom tags as a CommonJS-style file',
'wrap-start': 'Template wrapper beginning for "compile".',
'wrap-end': 'Template wrapper end for "compile".',
'method-name': 'Method name to set template to and run from.'
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/cli.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ <h3>Options</h3>
-j, --json Variable context as a JSON file.
-c, --context Variable context as a CommonJS-style file. Used only if option `j` is not provided.
-m, --minify Minify compiled functions with uglify-js
--filters Custom filters as a CommonJS-style file
--tags Custom tags as a CommonJS-style file
--wrap-start Template wrapper beginning for "compile". [default: "var tpl = "]
--wrap-end Template wrapper end for "compile". [default: ";"]
--method-name Method name to set template to and run from. [default: "tpl"]</pre>
Expand Down

0 comments on commit 23cd09b

Please sign in to comment.