Make search token required
parent
8273579461
commit
8675d4eb6a
|
@ -28,7 +28,7 @@ class SearchCommand extends Command
|
||||||
->setName('search')
|
->setName('search')
|
||||||
->setDescription('search for packages')
|
->setDescription('search for packages')
|
||||||
->setDefinition(array(
|
->setDefinition(array(
|
||||||
new InputArgument('tokens', InputArgument::IS_ARRAY, 'tokens to search for'),
|
new InputArgument('tokens', InputArgument::IS_ARRAY | InputArgument::REQUIRED, 'tokens to search for'),
|
||||||
))
|
))
|
||||||
->setHelp(<<<EOT
|
->setHelp(<<<EOT
|
||||||
The search command searches for packages by its name
|
The search command searches for packages by its name
|
||||||
|
|
Loading…
Reference in New Issue