aboutsummaryrefslogtreecommitdiff
path: root/share/man/man8/debug.sh.8
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man8/debug.sh.8')
-rw-r--r--share/man/man8/debug.sh.813
1 files changed, 11 insertions, 2 deletions
diff --git a/share/man/man8/debug.sh.8 b/share/man/man8/debug.sh.8
index 2c137ff3fd42..bf0fdbd6bcf5 100644
--- a/share/man/man8/debug.sh.8
+++ b/share/man/man8/debug.sh.8
@@ -12,7 +12,7 @@
.\" Please send copies of changes and bug-fixes to:
.\" sjg@crufty.net
.\"
-.Dd January 31, 2024
+.Dd October 22, 2024
.Dt DEBUG.SH 8
.Os
.Sh NAME
@@ -30,6 +30,8 @@
.It
.Ic Debugging
.It
+.Ic DebugAdd Ar tag
+.It
.Ic DebugEcho Op Ar message
.It
.Ic DebugLog Op Ar message
@@ -99,7 +101,7 @@ are ignored, they just allow for symmetry with calls to
The optional
.Ar rc
value will be returned rather than the default of 0.
-Thus if
+Thus if
.Fn DebugOff
is the last operation in a function,
.Ar rc
@@ -110,6 +112,13 @@ It is useful for bounding complex debug actions, rather than
using lots of
.Ic $DEBUG_DO
lines.
+.It Ic DebugAdd Ar tag
+Add
+.Ar tag
+to
+.Va DEBUG_SH
+to influence later output,
+possibly in a child process.
.It Ic DebugEcho
is just shorthand for:
.Bd -literal -offset indent