Fix printing 'rm' command usage when called with no arguments

This commit is contained in:
Andrew Resch 2009-12-11 21:19:48 +00:00
parent 62dfd6a664
commit 35186faf78
1 changed files with 1 additions and 1 deletions

View File

@ -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: