From cc25bfebd52ef6fa80b0bc7b312a8b1a9a76b787 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Sat, 2 Aug 2014 09:22:02 +0100 Subject: [PATCH] Clarified BaseCommand --traceback behavior. --- django/core/management/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/management/base.py b/django/core/management/base.py index 24ab3f96f7..5fe50bd71a 100644 --- a/django/core/management/base.py +++ b/django/core/management/base.py @@ -320,7 +320,7 @@ class BaseCommand(object): parser.add_option('--pythonpath', help='A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".'), parser.add_option('--traceback', action='store_true', - help='Raise on exception') + help='Raise on CommandError exceptions') parser.add_option('--no-color', action='store_true', dest='no_color', default=False, help="Don't colorize the command output.") for opt in self.option_list: @@ -342,7 +342,7 @@ class BaseCommand(object): parser.add_argument('--pythonpath', help='A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".') parser.add_argument('--traceback', action='store_true', - help='Raise on exception') + help='Raise on CommandError exceptions') parser.add_argument('--no-color', action='store_true', dest='no_color', default=False, help="Don't colorize the command output.") if self.args: