Include typescript and postcss in parser help (#1906)

master
Simen Bekkhus 2017-06-02 22:42:20 +02:00 committed by Christopher Chedeau
parent 3070884b10
commit 6a2c964b22
1 changed files with 2 additions and 1 deletions

View File

@ -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" +