From 35186faf780783d9128ae1206805dc489641dd66 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Fri, 11 Dec 2009 21:19:48 +0000 Subject: [PATCH] Fix printing 'rm' command usage when called with no arguments --- deluge/ui/console/commands/rm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: