Skip to content

Commit

Permalink
update jsfmt readme help text
Browse files Browse the repository at this point in the history
  • Loading branch information
brettlangdon committed Aug 7, 2014
1 parent 8da8dff commit bd8c2a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -19,7 +19,7 @@ Usage
```
$ jsfmt --help
Usage:
jsfmt [--no-format] [--diff|--list|--write] [--validate] [--rewrite PATTERN|--search PATTERN] [--json] [<file>...]
jsfmt [--no-format] [--save-ast] [--diff|--list|--write] [--validate] [--rewrite PATTERN|--search PATTERN] [--json|--ast] [<file>...]
jsfmt (--version | --help)
Options:
Expand All @@ -31,6 +31,8 @@ Options:
--no-format Do not format the input file(s)
-w --write Overwrite the original file with jsfmt output
-j --json Tell jsfmt that the file being parsed is json
-a --ast Tell jsfmt that the file being parsed is in JSON AST
--save-ast Output the resulting js in JSON AST format
-r=PATTERN --rewrite PATTERN Rewrite rule (e.g., 'a.slice(b, len(a) -> a.slice(b)')
-s=PATTERN --search PATTERN Search rule (e.g., 'a.slice')
```
Expand Down

0 comments on commit bd8c2a2

Please sign in to comment.