summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-12-11 21:19:48 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-12-11 21:19:48 +0000
commit85b3546c472a87698c8c99100507932cb6593356 (patch)
tree04ef22bf166e55bff2ff2970e3c8373977d0a5af
parent07cd4ba83dd980e22fb068ae3a7f4e8088270e16 (diff)
downloaddeluge-85b3546c472a87698c8c99100507932cb6593356.tar.gz
deluge-85b3546c472a87698c8c99100507932cb6593356.tar.bz2
deluge-85b3546c472a87698c8c99100507932cb6593356.zip
Fix printing 'rm' command usage when called with no arguments
-rw-r--r--deluge/ui/console/commands/rm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/console/commands/rm.py b/deluge/ui/console/commands/rm.py
index 2037a399e..378a78d5c 100644
--- a/deluge/ui/console/commands/rm.py
+++ b/deluge/ui/console/commands/rm.py
@@ -54,7 +54,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
self.console = component.get("ConsoleUI")
if len(args) == 0:
- self.console.write(usage)
+ self.console.write(self.usage)
torrent_ids = []
for arg in args: