From d947e73d0ff4e08dcb2365cfe59e195efc249130 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Thu, 14 Jul 2022 10:26:29 -0400 Subject: [PATCH] Bug 31155: Document --since option in help of borrowers-force-messaging-defaults.pl This patch adds a section about the --since option in the help section of borrowers-force-messaging-defaults.pl To test: 0) Apply patch 1) run the script with the --help option, e.g. ./misc/maintenance/borrowers-force-messaging-defaults.pl --help --> There should be an explanation of the --since option with examples for specific and relative dates 2) Optionally, run the script with different options --> The behaviour shouldn't have changed --- misc/maintenance/borrowers-force-messaging-defaults.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc/maintenance/borrowers-force-messaging-defaults.pl b/misc/maintenance/borrowers-force-messaging-defaults.pl index 7f2bba0c69..22cb01a706 100755 --- a/misc/maintenance/borrowers-force-messaging-defaults.pl +++ b/misc/maintenance/borrowers-force-messaging-defaults.pl @@ -134,6 +134,16 @@ already set their preferences. Will only update patrons in the category specified. +=item B<--since> + +Will only update borrowers enrolled since the specified date. + +Examples: + +--since "2022-07-13" + +--since `date -d "1 day ago" '+%Y-%m-%d' + =back =cut -- 2.25.1