@@ -107,8 +107,12 @@ index.js es-check <ecmaVersion> [files...]
107107
108108``` sh
109109
110- < ecmaVersion> ' define the ECMAScript version to check for against a glob of JavaScript files' required
111- [files...] ' a glob of files to test the ECMAScript version against' required
110+ Usage: index [options] [ecmaVersion] [files...]
111+
112+ Arguments:
113+ ecmaVersion ecmaVersion to check files against. Can be: es3, es4, es5, es6/es2015, es7/es2016, es8/es2017, es9/es2018, es10/es2019, es11/es2020, es12/es2021,
114+ es13/es2022, es14/es2023
115+ files a glob of files to to test the EcmaScript version against
112116
113117```
114118
@@ -126,7 +130,7 @@ index.js es-check <ecmaVersion> [files...]
126130
127131``` sh
128132
129- --allow-hash-bang supports files that start with hash bang, default false
133+ --allowHashBang supports files that start with hash bang, default false
130134
131135```
132136
@@ -150,7 +154,7 @@ index.js es-check <ecmaVersion> [files...]
150154
151155``` sh
152156
153- --loose-glob-match allows for loose glob matching, default false
157+ --looseGlobMatch allows for loose glob matching, default false
154158
155159```
156160
@@ -160,11 +164,18 @@ index.js es-check <ecmaVersion> [files...]
160164
161165``` sh
162166
163- -h, --help Display help
164- -V, --version Display version
165- --no-color Disable colors
166- --quiet Quiet mode - only displays warn and error messages
167- -v, --verbose Verbose mode - will also output debug messages
167+ Options:
168+ -V, --version output the version number
169+ --module use ES modules
170+ --allow-hash-bang, --allowHashBang if the code starts with #! treat it as a comment (default: false)
171+ --files < files> a glob of files to to test the EcmaScript version against (alias for [files...])
172+ --not < files> folder or file names to skip
173+ --no-color, --noColor disable use of colors in output (default: false)
174+ -v, --verbose verbose mode: will also output debug messages (default: false)
175+ --quiet quiet mode: only displays warn and error messages (default: false)
176+ --looseGlobMatching doesn' t fail if no files are found in some globs/files (default: false)
177+ --silent silent mode: does not output anything, giving no indication of success or failure other than the exit code (default: false)
178+ -h, --help display help for command
168179
169180```
170181
0 commit comments