Adding "auto" to help for "--tb" option

This commit is contained in:
Bruno Oliveira 2014-10-10 20:43:33 +00:00
parent b7dd8eac8e
commit b2341899c5
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def pytest_addoption(parser):
group._addoption('--tb', metavar="style",
action="store", dest="tbstyle", default='auto',
choices=['auto', 'long', 'short', 'no', 'line', 'native'],
help="traceback print mode (long/short/line/native/no).")
help="traceback print mode (auto/long/short/line/native/no).")
group._addoption('--fulltrace', '--full-trace',
action="store_true", default=False,
help="don't cut any tracebacks (default is to cut).")