From b4a62515bf2ed693def7d3d2feb17635eb6f7b38 Mon Sep 17 00:00:00 2001 From: Petro Vashchuk Date: Thu, 13 Oct 2022 17:37:24 +0300 Subject: [PATCH] Bug 31776: Fix a typo in cleanup_database.pl cronjob's help/usage cleanup_database.pl cronjob has a typo in it's usage/help: "preserve-logs" option should be "preserve-log" as it is everywhere in the code. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- misc/cronjobs/cleanup_database.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl index 96248b7b52..f13b6d7f7f 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -75,7 +75,7 @@ Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] In the case of --fees, DAYS must be greater than or equal to 1. --log-modules Specify which action log modules to trim. Repeatable. - --preserve-logs Specify which action logs to exclude. Repeatable. + --preserve-log Specify which action logs to exclude. Repeatable. --logs DAYS purge entries from action_logs older than DAYS days. Defaults to 180 days if no days specified. --searchhistory DAYS purge entries from search_history older than DAYS days. -- 2.30.2