Skip to content

Commit

Permalink
Update the help for --enable & --disable (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
MFTabriz authored Aug 16, 2022
1 parent 532d219 commit dd95e43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ markdownlint --help
-q, --quiet do not write issues to STDOUT
-r, --rules [file|directory|glob|package] include custom rule files (default: [])
-s, --stdin read from STDIN (does not work with files)
--enable [rules...] Enable certain rules, e.g. --enable MD013 MD041
--disable [rules...] Disable certain rules, e.g. --disable MD013 MD041
--enable [rules...] Enable certain rules, e.g. --enable MD013 MD041 --
--disable [rules...] Disable certain rules, e.g. --disable MD013 MD041 --
-h, --help display help for command
```

Expand Down
4 changes: 2 additions & 2 deletions markdownlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ program
.option('-q, --quiet', 'do not write issues to STDOUT')
.option('-r, --rules [file|directory|glob|package]', 'include custom rule files', concatArray, [])
.option('-s, --stdin', 'read from STDIN (does not work with files)')
.option('--enable [rules...]', 'Enable certain rules, e.g. --enable MD013 MD041')
.option('--disable [rules...]', 'Disable certain rules, e.g. --disable MD013 MD041');
.option('--enable [rules...]', 'Enable certain rules, e.g. --enable MD013 MD041 --')
.option('--disable [rules...]', 'Disable certain rules, e.g. --disable MD013 MD041 --');

program.parse(process.argv);

Expand Down

0 comments on commit dd95e43

Please sign in to comment.