From f4a2f9fae50ece024511fe5bc5d4d72463018e63 Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 19 Oct 2011 17:22:43 -0300 Subject: [PATCH] Fix subcommand name in error message --- gunicorn/management/commands/run_gunicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/management/commands/run_gunicorn.py b/gunicorn/management/commands/run_gunicorn.py index e18bb73b..7fa1c42c 100644 --- a/gunicorn/management/commands/run_gunicorn.py +++ b/gunicorn/management/commands/run_gunicorn.py @@ -62,7 +62,7 @@ class Command(BaseCommand): def handle(self, addrport=None, *args, **options): if args: - raise CommandError('Usage is runserver %s' % self.args) + raise CommandError('Usage is run_gunicorn %s' % self.args) if addrport: options['bind'] = addrport