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 <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Petro Vashchuk 2022-10-13 17:37:24 +03:00 committed by Tomas Cohen Arazi
parent be9b1fc60a
commit b04e8185a3
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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.