From 029a861fd0219609b718c5a7896868a8d67c2e49 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Wed, 10 Feb 2010 10:18:08 +0100 Subject: [PATCH] fix usages messages --- gunicorn/main.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gunicorn/main.py b/gunicorn/main.py index de1736a5..66ccd844 100644 --- a/gunicorn/main.py +++ b/gunicorn/main.py @@ -14,8 +14,6 @@ import sys from gunicorn.arbiter import Arbiter from gunicorn import util, __version__ -__usage__ = "%prog [OPTIONS] [APP_MODULE]" - LOG_LEVELS = { "critical": logging.CRITICAL, "error": logging.ERROR, @@ -170,7 +168,7 @@ def run(): except: parser.error("Failed to import application module.") - main(__usage__, get_app) + main("%prog [OPTIONS] APP_MODULE", get_app) def run_django(): @@ -264,5 +262,5 @@ def run_paster(): app = loadapp(config_url, relative_to=relative_to) return app - main(__usage__, get_app) + main("%prog [OPTIONS] pasteconfig.ini", get_app) \ No newline at end of file