From c9e2e80ae7c18830f092160f98dc86d807ddeddf Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 21 Sep 2021 16:20:35 +0300 Subject: [PATCH] feat(console): update EntriesFetchCommand, use VALUE_NONE for --collection flag #543 --- .../core/Console/Commands/Entries/EntrieFetchCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Console/Commands/Entries/EntrieFetchCommand.php b/src/flextype/core/Console/Commands/Entries/EntrieFetchCommand.php index 885789e3..43d9e549 100644 --- a/src/flextype/core/Console/Commands/Entries/EntrieFetchCommand.php +++ b/src/flextype/core/Console/Commands/Entries/EntrieFetchCommand.php @@ -25,7 +25,7 @@ class EntriesFetchCommand extends Command $this->setDescription('Fetch entry.'); $this->addArgument('id', InputArgument::OPTIONAL, 'Unique identifier of the entry.'); $this->addArgument('options', InputArgument::OPTIONAL, 'Options array.'); - $this->addOption('collection', null, InputOption::VALUE_NEGATABLE, 'Set true to fetch entries collection.'); + $this->addOption('collection', null, InputOption::VALUE_NONE, 'Set true to fetch entries collection.'); $this->addOption('find-depth-from', null, InputOption::VALUE_OPTIONAL, 'Restrict the depth of traversing from.'); $this->addOption('find-depth-to', null, InputOption::VALUE_OPTIONAL, 'Restrict the depth of traversing to.'); $this->addOption('find-date-from', null, InputOption::VALUE_OPTIONAL, 'Restrict by a date range from.');