1
0
Fork 0

Make search token required

pull/149/head
Jordi Boggiano 2011-12-06 23:06:49 +01:00
parent 8273579461
commit 8675d4eb6a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class SearchCommand extends Command
->setName('search')
->setDescription('search for packages')
->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
The search command searches for packages by its name