From e97de16203c16736947a9170b4e7ee9b70350888 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Mon, 21 Oct 2024 08:58:36 -0400 Subject: [PATCH] Clarify that arg of OMITFUNC must be a user-defined function. --- man/remind.1.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/remind.1.in b/man/remind.1.in index 6f8ff9b8..cc181ef4 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -1139,6 +1139,10 @@ be Friday, Saturday and Sunday. .PP The \fBOMITFUNC\fR phrase of the \fBREM\fR command allows you to supply a function that determines whether or not a date is omitted. +Note that \fBOMITFUNC\fR must be given just the name of a user-defined +function; it can't take an arbitrary expression or the name of a built-in +function. +.PP The function is passed a single parameter of type \fBDATE\fR, and must return a non-zero integer if the date is considered "omitted" and 0 otherwise. Here's an example: