From deb7f1843dcb1d9e80d9c30d957ed25fa89d7416 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 10 Sep 2025 15:28:56 +0200 Subject: [PATCH] Bug 40785: Cronjob cleanup_database.pl remove args in usage first line Cronjob cleanup_database.pl usage is wrong : Usage: $0 [-h|--help] [--confirm] (...) [--bg-days DAYS [--bg-type TYPE] ] Those args has been renamed jobs-days and jobs-type. Also some args are missing. There are too many args, I propose to remove them from there, one need to read the full help. Test plan: Run command line `misc/cronjobs/cleanup_database.pl -h` You see first line: Usage: misc/cronjobs/cleanup_database.pl -h --help prints this help message, and exits, ignoring all ... Signed-off-by: Anke Bruns --- 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 210df87..771846a 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -59,7 +59,7 @@ use Koha::UploadedFiles; sub usage { print STDERR <