From 163870afd9d23dd6188f442815402b4c5eeed841 Mon Sep 17 00:00:00 2001 From: NoGare Date: Tue, 20 Mar 2012 10:55:21 -0400 Subject: [PATCH] Rename torrent_options to manage. --- .../ui/console/commands/{torrent_option.py => manage.py} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename deluge/ui/console/commands/{torrent_option.py => manage.py} (95%) diff --git a/deluge/ui/console/commands/torrent_option.py b/deluge/ui/console/commands/manage.py similarity index 95% rename from deluge/ui/console/commands/torrent_option.py rename to deluge/ui/console/commands/manage.py index beb00935e..b9b46f165 100644 --- a/deluge/ui/console/commands/torrent_option.py +++ b/deluge/ui/console/commands/manage.py @@ -1,5 +1,5 @@ # -# config.py +# manage.py # # Copyright (C) 2008-2009 Ido Abramovich # Copyright (C) 2009 Andrew Resch @@ -61,14 +61,14 @@ torrent_options = { class Command(BaseCommand): - """Show and set per-torrent options""" + """Show and manage per-torrent options""" option_list = BaseCommand.option_list + ( make_option('-s', '--set', action='store', nargs=2, dest='set', help='set value for key'), ) - usage = "Usage: torrent_option [ [ ...]]\n"\ - " torrent_option --set " + usage = "Usage: manage [ [ ...]]\n"\ + " manage --set " def handle(self, *args, **options): self.console = component.get("ConsoleUI")