mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #11745 -- Grouped commands by application in the output of manage.py help. Made 'version' consistent with 'help' while I was in the area, and added tests. Thanks Jannis for the feedback and review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -47,11 +47,16 @@ for the given command.
|
||||
Getting runtime help
|
||||
--------------------
|
||||
|
||||
.. django-admin-option:: --help
|
||||
.. django-admin:: help
|
||||
|
||||
Run ``django-admin.py help`` to display a list of all available commands.
|
||||
Run ``django-admin.py help <command>`` to display a description of the
|
||||
given command and a list of its available options.
|
||||
Run ``django-admin.py help`` to display usage information and a list of the
|
||||
commands provided by each application.
|
||||
|
||||
Run ``django-admin.py help --commands`` to display a list of all available
|
||||
commands.
|
||||
|
||||
Run ``django-admin.py help <command>`` to display a description of the given
|
||||
command and a list of its available options.
|
||||
|
||||
App names
|
||||
---------
|
||||
@@ -63,9 +68,9 @@ contains the string ``'mysite.blog'``, the app name is ``blog``.
|
||||
Determining the version
|
||||
-----------------------
|
||||
|
||||
.. django-admin-option:: --version
|
||||
.. django-admin:: version
|
||||
|
||||
Run ``django-admin.py --version`` to display the current Django version.
|
||||
Run ``django-admin.py version`` to display the current Django version.
|
||||
|
||||
Examples of output::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user