CLI: Mark some parameters as booleans explicitly #2186

Merged
merged 1 commit into from Dec 10, 2016

Projects

None yet

2 participants

@subzey
Contributor
subzey commented Dec 10, 2016

Which issue, if any, is this issue related to?

#2184

Is there anything in the PR that needs further explanation?

No.

Fixes #2184

This change states that --allow-empty-input, --color, --help,
--ignore-disables, --no-color, --quiet, --version has no arguments

@subzey subzey CLI: Mark some parameters as booleans explicitly
Fixes #2184

This change states that --allow-empty-input, --color, --help,
--ignore-disables, --no-color, --quiet, --version has no arguments
ed332be
@jeddy3 jeddy3 merged commit 5b078ee into stylelint:master Dec 10, 2016

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jeddy3
Member
jeddy3 commented Dec 10, 2016

@subzey Thanks! LGTM.

@stylelint/core Tested locally and looks good. Changelog entry is:

  • Fixed: a boolean CLI flag (e.g. --quiet) placed before an input glob no longer causes the input to be ignored (#2186).

Need for better CLI tests is being tracked in #2046

@subzey subzey deleted the subzey:issue-2184-boolean-cli-flags branch Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment