From 6bb8e4ef0c4569c4c60cf9e79ae60383a77b3100 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b04e8185a3e76004b152b877d7109f6534ef7371) Signed-off-by: Lucas Gass (cherry picked from commit dee700810e56bbf6521c72c42ae5b959267c0f53) Signed-off-by: Arthur Suzuki --- 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 19e97d51ec..95854bf810 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -82,7 +82,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.39.5