aboutsummaryrefslogtreecommitdiff
path: root/docs/CommandGuide/lit.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/CommandGuide/lit.rst')
-rw-r--r--docs/CommandGuide/lit.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/CommandGuide/lit.rst b/docs/CommandGuide/lit.rst
index fbe1a9ab1843..0d39311152d2 100644
--- a/docs/CommandGuide/lit.rst
+++ b/docs/CommandGuide/lit.rst
@@ -85,6 +85,10 @@ OUTPUT OPTIONS
Echo all commands to stdout, as they are being executed.
This can be valuable for debugging test failures, as the last echoed command
will be the one which has failed.
+ :program:`lit` normally inserts a no-op command (``:`` in the case of bash)
+ with argument ``'RUN: at line N'`` before each command pipeline, and this
+ option also causes those no-op commands to be echoed to stdout to help you
+ locate the source line of the failed command.
This option implies ``--verbose``.
.. option:: -a, --show-all