|
|
@ -129,6 +129,12 @@ EOT
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($input->getOption('tree') && $input->getOption('path')) {
|
|
|
|
|
|
|
|
$io->writeError('The --tree (-t) option is not usable in combination with --path (-P)');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$format = $input->getOption('format');
|
|
|
|
$format = $input->getOption('format');
|
|
|
|
if (!in_array($format, array('text', 'json'))) {
|
|
|
|
if (!in_array($format, array('text', 'json'))) {
|
|
|
|
$io->writeError(sprintf('Unsupported format "%s". See help for supported formats.', $format));
|
|
|
|
$io->writeError(sprintf('Unsupported format "%s". See help for supported formats.', $format));
|
|
|
|