From c81e5dc0ba017ad85c417360a372e8df920d5ff3 Mon Sep 17 00:00:00 2001 From: Caroline Cyr La Rose Date: Mon, 18 Dec 2023 16:06:28 -0500 Subject: [PATCH] Bug 35596: Error in writeoff_debts documentation This patch corrects an error in the documentation of the writeoff_debts.pl script. The --type parameter accepts debit type codes, not credit type codes. To test: - Run ./misc/cronjobs/writeoff_debts.pl - Make sure the sentence for --type makes sense, grammar and spelling are correct Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 633533049ad234f8705390e4b6c78987e90b2802) Signed-off-by: Fridolin Somers (cherry picked from commit 97cc3285bd0ce18541d0fbeef4e6996e33c395eb) Signed-off-by: Lucas Gass --- misc/cronjobs/writeoff_debts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/writeoff_debts.pl b/misc/cronjobs/writeoff_debts.pl index 1fc7ce18e3..3c610bd1e0 100755 --- a/misc/cronjobs/writeoff_debts.pl +++ b/misc/cronjobs/writeoff_debts.pl @@ -170,7 +170,7 @@ with `date -d '-3 month' --iso-8601`. =item B<--type> -Writeoff debts of the passed type. Accepts a list of CREDIT_TYPE_CODEs. +Writeoff debts of the passed type. Accepts a list of debit type codes. =item B<--file> -- 2.39.5