diff --git a/README.md b/README.md index 59dee6c92..628d5730c 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Options: tasks serially (default: true) -q, --quiet disable lint-staged’s own console output (default: false) -r, --relative pass relative filepaths to tasks (default: false) - -x, --shell skip parsing of tasks for better shell support (default: + -x, --shell [path] skip parsing of tasks for better shell support (default: false) -v, --verbose show task output even when tasks succeed; by default only failed output is shown (default: false) diff --git a/bin/lint-staged.js b/bin/lint-staged.js index 0b1724c17..6be42dc25 100755 --- a/bin/lint-staged.js +++ b/bin/lint-staged.js @@ -42,7 +42,7 @@ cmdline ) .option('-q, --quiet', 'disable lint-staged’s own console output', false) .option('-r, --relative', 'pass relative filepaths to tasks', false) - .option('-x, --shell ', 'skip parsing of tasks for better shell support', false) + .option('-x, --shell [path]', 'skip parsing of tasks for better shell support', false) .option( '-v, --verbose', 'show task output even when tasks succeed; by default only failed output is shown',