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")