Skip to content

Commit 3bc92ae

Browse files
committed
Rename to disable-parse-errors-on-stdout
1 parent 95a358b commit 3bc92ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Command/BuildDocsCommand.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ protected function configure()
8080
'Path where any errors should be saved'
8181
)
8282
->addOption(
83-
'print-errors',
83+
'disable-parse-errors-on-stdout',
8484
null,
8585
InputOption::VALUE_NONE,
86-
'Print errors to standard output'
86+
'Don\'t print errors to standard output'
8787
)
8888
->addOption(
8989
'no-theme',
@@ -144,7 +144,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
144144
);
145145

146146
$configuration = $builder->getConfiguration();
147-
$configuration->silentOnError(!$input->getOption('print-errors'));
147+
$configuration->silentOnError($input->getOption('disable-parse-errors-on-stdout'));
148148
$this->addProgressListener($configuration->getEventManager());
149149

150150
$builder->build(

0 commit comments

Comments
 (0)