fix: handle -c flag same as --configuration

This commit is contained in:
sebastianfaber
2024-10-16 22:19:08 +02:00
parent 67f217852c
commit 53c94600cb

View File

@ -34,7 +34,7 @@ final class Configuration implements HandlesArguments, Terminable
*/
public function handleArguments(array $arguments): array
{
if ($this->hasArgument('--configuration', $arguments) || $this->hasCustomConfigurationFile()) {
if ($this->hasArgument('--configuration', $arguments) || $this->hasArgument('-c', $arguments) || $this->hasCustomConfigurationFile()) {
return $arguments;
}