Fix printing 'rm' command usage when called with no arguments
This commit is contained in:
parent
62dfd6a664
commit
35186faf78
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue