diff --git a/src/cli-constant.js b/src/cli-constant.js index f39ee3ba3..6e56519ff 100644 --- a/src/cli-constant.js +++ b/src/cli-constant.js @@ -286,10 +286,10 @@ const minimistOptions = { }; const usageSummary = ` -Usage: prettier [optionss] [path ...] +Usage: prettier [options] [file/glob ...] By default, output is written to stdout. -Stdin is read if it is piped to Prettier and no paths are given. +Stdin is read if it is piped to Prettier and no files are given. `.trim(); function dedent(str) { diff --git a/tests_integration/__tests__/__snapshots__/early-exit.js.snap b/tests_integration/__tests__/__snapshots__/early-exit.js.snap index 2d4292f3a..81614cbad 100644 --- a/tests_integration/__tests__/__snapshots__/early-exit.js.snap +++ b/tests_integration/__tests__/__snapshots__/early-exit.js.snap @@ -1,10 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`show usage with --help 1`] = ` -"Usage: prettier [optionss] [path ...] +"Usage: prettier [options] [file/glob ...] By default, output is written to stdout. -Stdin is read if it is piped to Prettier and no paths are given. +Stdin is read if it is piped to Prettier and no files are given. Output options: @@ -68,10 +68,10 @@ Other options: `; exports[`throw error and show usage with something unexpected 1`] = ` -"Usage: prettier [optionss] [path ...] +"Usage: prettier [options] [file/glob ...] By default, output is written to stdout. -Stdin is read if it is piped to Prettier and no paths are given. +Stdin is read if it is piped to Prettier and no files are given. Output options: