From 175e6d77df526dea1ade94661e487072e7c7cd88 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 7 Feb 2012 18:46:29 +0000 Subject: 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 --- docs/ref/django-admin.txt | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index aa514606e2..41f9bf649d 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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 `` 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 `` 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:: -- cgit v1.3