This commit is contained in:
Simon Vieille 2015-02-10 20:29:55 +01:00
parent 1f2fceb92c
commit 7d271a20ab
3 changed files with 11 additions and 11 deletions

View file

@ -16,7 +16,7 @@ $ ./console
## Commands ## Commands
### console auth:login ### Login on t411
``` ```
Usage: Usage:
@ -42,7 +42,7 @@ Help:
``` ```
### console categories:tree ### Show categories and sub-categories
``` ```
Usage: Usage:
@ -66,7 +66,7 @@ Help:
``` ```
### console torrents:details ### Show a torrent details
``` ```
Usage: Usage:
@ -93,7 +93,7 @@ Help:
``` ```
### console torrents:download ### Download a torrent
``` ```
Usage: Usage:
@ -123,7 +123,7 @@ Help:
``` ```
### console torrents:search ### Search torrents
``` ```
Usage: Usage:
@ -157,7 +157,7 @@ Help:
``` ```
### console torrents:search:movies ### Search movies
``` ```
Usage: Usage:
@ -189,7 +189,7 @@ Help:
``` ```
### console torrents:search:series ### Search series
``` ```
Usage: Usage:
@ -221,7 +221,7 @@ Help:
``` ```
### console torrents:top ### Top torrents
``` ```
Usage: Usage:
@ -248,7 +248,7 @@ Help:
``` ```
### console types:tree ### Show types and terms
``` ```
Usage: Usage:

View file

@ -24,7 +24,7 @@ Show top torrents.
Usage: <comment>torrents:search:top</comment> [OPTIONS] Usage: <comment>torrents:search:top</comment> [OPTIONS]
<info>Period values: \"100\", \"day\", \"week\", \"month\"</info>"); <info>Period values: \"100\" (default), \"day\", \"week\", \"month\"</info>");
} }
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output)

View file

@ -15,7 +15,7 @@ class TypesTreeCommand extends Command
{ {
$this $this
->setName('types:tree') ->setName('types:tree')
->setDescription('Show types') ->setDescription('Show types and terms')
->addOption('terms', 't', InputOption::VALUE_NONE, 'Show terms') ->addOption('terms', 't', InputOption::VALUE_NONE, 'Show terms')
->addOption('filter', 'f', InputOption::VALUE_OPTIONAL, 'Filter types by ID or by name') ->addOption('filter', 'f', InputOption::VALUE_OPTIONAL, 'Filter types by ID or by name')
->setHelp("<info>%command.name%</info> ->setHelp("<info>%command.name%</info>