mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix subcommand name in error message
This commit is contained in:
parent
3c47b20f03
commit
f4a2f9fae5
@ -62,7 +62,7 @@ class Command(BaseCommand):
|
|||||||
|
|
||||||
def handle(self, addrport=None, *args, **options):
|
def handle(self, addrport=None, *args, **options):
|
||||||
if args:
|
if args:
|
||||||
raise CommandError('Usage is runserver %s' % self.args)
|
raise CommandError('Usage is run_gunicorn %s' % self.args)
|
||||||
|
|
||||||
if addrport:
|
if addrport:
|
||||||
options['bind'] = addrport
|
options['bind'] = addrport
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user