Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option --format=raw missing from --help #41

Closed
davidferlay opened this issue Apr 15, 2019 · 1 comment · Fixed by #44
Closed

Option --format=raw missing from --help #41

davidferlay opened this issue Apr 15, 2019 · 1 comment · Fixed by #44

Comments

@davidferlay
Copy link

davidferlay commented Apr 15, 2019

Steps

curl -O -L https://github.com/mglaman/drupal-check/releases/download/1.0.7/drupal-check.phar \
chmod +x drupal-check.phar \

Observed result # 1

./drupal-check.phar --help returns :

(...)
Options:
      --format[=FORMAT]  Formatter to use: table, json, or junit [default: "table"]
(...)

Observed result # 2

./drupal-check.phar web/modules/custom/ --format=string returns :
Error formatter "string" not found. Available error formatters are: raw, table, checkstyle, json, prettyJson, junit

./drupal-check.phar --help part related to format is not up to date with accepted options

Todo

Update --help format option description

@mglaman
Copy link
Owner

mglaman commented Apr 26, 2019

Thanks. Originally I meant to limit the listed items to simplify, but if they all work then why not. We're wrapping PHPStan which allows those formats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants