diff --git a/gunicorn/app/pasterapp.py b/gunicorn/app/pasterapp.py index 628aa878..7723ed83 100644 --- a/gunicorn/app/pasterapp.py +++ b/gunicorn/app/pasterapp.py @@ -187,5 +187,13 @@ def paste_server(app, gcfg=None, host="127.0.0.1", port=None, *args, **kwargs): port = 5000 """ + + util.warn("""This command is deprecated. + + You should now use the `--paste` option. Ex.: + + gunicorn --paste development.ini + """) + from gunicorn.app.pasterapp import PasterServerApplication PasterServerApplication(app, gcfg=gcfg, host=host, port=port, *args, **kwargs).run()