Skip to content

Commit

Permalink
Include typescript and postcss in parser help (prettier#1906)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and vjeux committed Jun 2, 2017
1 parent 3070884 commit 6a2c964
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ if (argv["help"] || (!filepatterns.length && !stdin)) {
" --jsx-bracket-same-line Put > on the last line instead of at a new line.\n" +
" --trailing-comma <none|es5|all>\n" +
" Print trailing commas wherever possible. Defaults to none.\n" +
" --parser <flow|babylon> Specify which parse to use. Defaults to babylon.\n" +
" --parser <flow|babylon|typescript|postcss>\n" +
" Specify which parse to use. Defaults to babylon.\n" +
" --cursor-offset <int> Print (to stderr) where a cursor at the given position would move to after formatting.\n" +
" This option cannot be used with --range-start and --range-end\n" +
" --range-start <int> Format code starting at a given character offset.\n" +
Expand Down

0 comments on commit 6a2c964

Please sign in to comment.