From e85be7cccbef494f00736328f3c408290c1194cb Mon Sep 17 00:00:00 2001 From: Nogare Date: Wed, 14 Mar 2012 15:34:18 -0400 Subject: [PATCH] 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 ` since we tell the user that when they read the option about '-s') --- deluge/ui/console/commands/info.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/deluge/ui/console/commands/info.py b/deluge/ui/console/commands/info.py index e611d7ee3..0a87aea42 100644 --- a/deluge/ui/console/commands/info.py +++ b/deluge/ui/console/commands/info.py @@ -111,11 +111,14 @@ class Command(BaseCommand): ) usage = "Usage: info [-v | -d | -s ] [ [ ...]]\n"\ - " use -v to view more info and -d to view detailed information"\ - " about files and peers."\ - " info -s will show only torrents in 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*):\n"\ + " | First press of will output up to 15 matches;\n"\ + " | hitting a second time, will print 15 more matches; \n"\ + " | and a third press will print all remaining matches.\n"\ + " | (To modify behaviour of third , set `third_tab_lists_all` to False)" + def handle(self, *args, **options): self.console = component.get("ConsoleUI") # Compile a list of torrent_ids to request the status of