diff --git a/README.md b/README.md index 28f35bf9e..599d46861 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/markdownlint.js b/markdownlint.js index 0cb02de3b..1d794059d 100755 --- a/markdownlint.js +++ b/markdownlint.js @@ -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);