@@ -199,18 +199,18 @@ program
199
199
. version ( pkg . version )
200
200
. description ( pkg . description )
201
201
. usage ( '[options] <files|directories|globs>' )
202
- . option ( '-c, --config [ configFile] ' , 'configuration file (JSON, JSONC, JS, or YAML)' )
202
+ . option ( '-c, --config < configFile> ' , 'configuration file (JSON, JSONC, JS, or YAML)' )
203
203
. option ( '-d, --dot' , 'include files/folders with a dot (for example `.github`)' )
204
204
. option ( '-f, --fix' , 'fix basic errors (does not work with STDIN)' )
205
- . option ( '-i, --ignore [ file|directory|glob] ' , 'file(s) to ignore/exclude' , concatArray , [ ] )
205
+ . option ( '-i, --ignore < file|directory|glob> ' , 'file(s) to ignore/exclude' , concatArray , [ ] )
206
206
. option ( '-j, --json' , 'write issues in json format' )
207
- . option ( '-o, --output [ outputFile] ' , 'write issues to file (no console)' )
208
- . option ( '-p, --ignore-path [ file] ' , 'path to file with ignore pattern(s)' )
207
+ . option ( '-o, --output < outputFile> ' , 'write issues to file (no console)' )
208
+ . option ( '-p, --ignore-path < file> ' , 'path to file with ignore pattern(s)' )
209
209
. option ( '-q, --quiet' , 'do not write issues to STDOUT' )
210
- . option ( '-r, --rules [ file|directory|glob|package] ' , 'include custom rule files' , concatArray , [ ] )
210
+ . option ( '-r, --rules < file|directory|glob|package> ' , 'include custom rule files' , concatArray , [ ] )
211
211
. option ( '-s, --stdin' , 'read from STDIN (does not work with files)' )
212
- . option ( '--enable [ rules...] ' , 'Enable certain rules, e.g. --enable MD013 MD041 --' )
213
- . option ( '--disable [ rules...] ' , 'Disable certain rules, e.g. --disable MD013 MD041 --' ) ;
212
+ . option ( '--enable < rules...> ' , 'Enable certain rules, e.g. --enable MD013 MD041 --' )
213
+ . option ( '--disable < rules...> ' , 'Disable certain rules, e.g. --disable MD013 MD041 --' ) ;
214
214
215
215
program . parse ( process . argv ) ;
216
216
0 commit comments