Remove duplicated --env in yamllinter console command

This commit is contained in:
Matias Griese
2021-01-06 19:23:32 +02:00
parent 9893792768
commit df9eb60ffa
2 changed files with 1 additions and 6 deletions

View File

@@ -12,6 +12,7 @@
* Make serialize methods final in `ContentBlock`, `AbstractFile`, `FormTrait`, `ObjectCollectionTrait` and `ObjectTrait`
* Added support for relative paths in `PageObject::getLevelListing()` [#3110](https://github.com/getgrav/grav/issues/3110)
* Better `--env` and `--lang` support for `bin/grav`, `bin/gpm` and `bin/plugin` console commands
* **BC BREAK** Shorthand for `--env`: `-e` will not work anymore as it conflicts with plugins
1. [](#bugfix)
* Fixed port issue with `system.custom_base_url`
* Hide errors with `exif_read_data` in `ImageFile`

View File

@@ -27,12 +27,6 @@ class YamlLinterCommand extends GravCommand
{
$this
->setName('yamllinter')
->addOption(
'env',
'e',
InputOption::VALUE_OPTIONAL,
'The environment to trigger a specific configuration. For example: localhost, mysite.dev, www.mysite.com'
)
->addOption(
'all',
'a',