Update help for 'info'
This commit updates help information when you run `help info`. We inform user of Tab Completion, and of `info *`. There is also some removal of duplicate information(no need for line about `info -s <state>` since we tell the user that when they read the option about '-s')
This commit is contained in:
parent
b8f2a1da1a
commit
e85be7cccb
|
@ -111,10 +111,13 @@ class Command(BaseCommand):
|
|||
)
|
||||
|
||||
usage = "Usage: info [-v | -d | -s <state>] [<torrent-id> [<torrent-id> ...]]\n"\
|
||||
" use -v to view more info and -d to view detailed information"\
|
||||
" about files and peers."\
|
||||
" info -s <state> will show only torrents in state <state>\n"\
|
||||
" You can give the first few characters of a torrent-id to identify the torrent."
|
||||
" You can give the first few characters of a torrent-id to identify the torrent.\n"\
|
||||
" info * will list all torrents.\n\n"\
|
||||
" Tab Completion (info *pattern*<tab>):\n"\
|
||||
" | First press of <tab> will output up to 15 matches;\n"\
|
||||
" | hitting <tab> a second time, will print 15 more matches; \n"\
|
||||
" | and a third press will print all remaining matches.\n"\
|
||||
" | (To modify behaviour of third <tab>, set `third_tab_lists_all` to False)"
|
||||
|
||||
def handle(self, *args, **options):
|
||||
self.console = component.get("ConsoleUI")
|
||||
|
|
Loading…
Reference in New Issue