Opened 16 years ago
Closed 16 years ago
#7997 closed (fixed)
./manage.py <command> --help shows manage.py help message
Reported by: | Trevor Caira | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Steps to reproduce:
./manage.py runserver -h
Expected output:
Usage: ./manage.py runserver [options] [optional port number, or ipaddr:port] Starts a lightweight Web server for development. Options: --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used. --pythonpath=PYTHONPATH A directory to add to the Python path, e.g. "/home/djangoprojects/myproject". --traceback Print traceback on exception --noreload Tells Django to NOT use the auto-reloader. --adminmedia=ADMIN_MEDIA_PATH Specifies the directory from which to serve admin media. --version show program's version number and exit -h, --help show this help message and exit
Actual output:
Usage: manage.py [options] Options: --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used. --pythonpath=PYTHONPATH A directory to add to the Python path, e.g. "/home/djangoprojects/myproject". --traceback Print traceback on exception --version show program's version number and exit -h, --help show this help message and exit Usage: ./manage.py runserver [options] [optional port number, or ipaddr:port] Starts a lightweight Web server for development. Options: --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used. --pythonpath=PYTHONPATH A directory to add to the Python path, e.g. "/home/djangoprojects/myproject". --traceback Print traceback on exception --noreload Tells Django to NOT use the auto-reloader. --adminmedia=ADMIN_MEDIA_PATH Specifies the directory from which to serve admin media. --version show program's version number and exit -h, --help show this help message and exit
The problem seems to originate in LaxOptionParser
.
Change History (3)
comment:1 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
As noted in http://code.djangoproject.com/ticket/6017#comment:6, this is a separate issue. #6817 was reported and closed long before [7888] was committed. As of [8128], this bug is still present.
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Closing and marking as a duplicate of of #6017, just like it was done with #6817.