1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

feat(console): update EntriesFetchCommand, use VALUE_NONE for --collection flag #543

This commit is contained in:
Awilum
2021-09-21 16:20:35 +03:00
parent 462a7ea2de
commit c9e2e80ae7

View File

@@ -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.');