summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2014-08-02 09:22:02 +0100
committerTim Graham <timograham@gmail.com>2014-10-30 14:15:31 -0400
commitcc25bfebd52ef6fa80b0bc7b312a8b1a9a76b787 (patch)
tree69b96456a937b52d5496309695b127af160de0d3
parent57e40551e41eaf31ff96672beea9b1f732f2e331 (diff)
Clarified BaseCommand --traceback behavior.
-rw-r--r--django/core/management/base.py4
1 files 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: