From 42e4ec889072d91bb133ee1a4d5ad7d894b08db5 Mon Sep 17 00:00:00 2001 From: "David F. Skoll" Date: Tue, 25 Mar 2008 17:21:07 -0400 Subject: [PATCH] Make DEBUG command handle "f" flag. --- man/remind.1 | 2 +- src/main.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/man/remind.1 b/man/remind.1 index 78a8b6f0..0492437a 100644 --- a/man/remind.1 +++ b/man/remind.1 @@ -3049,7 +3049,7 @@ under program control. The format is: .PP \fBDEBUG\fR [+\fIflagson\fR] [\-\fIflagsoff\fR] .PP -\fIFlagson\fR and \fIflagsoff\fR consist of strings of the characters "extvl" +\fIFlagson\fR and \fIflagsoff\fR consist of strings of the characters "extvlf" that correspond to the debugging options discussed in the command-line options section. If preceded with a "+", the corresponding group of debugging options is switched on. Otherwise, they are switched off. diff --git a/src/main.c b/src/main.c index 3fe04736..a26765a5 100644 --- a/src/main.c +++ b/src/main.c @@ -863,6 +863,11 @@ int DoDebug(ParsePtr p) else DebugFlag &= ~DB_PRTLINE; break; + case 'f': + case 'F': + if (val) DebugFlag |= DB_TRACE_FILES; + else DebugFlag &= ~DB_TRACE_FILES; + break; } } }