From d5f0b5321844a581d4d01637e1781cd15c30a6c5 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 ... --- 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 ba4a13cd836..048fa045b36 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -59,7 +59,7 @@ use Koha::UploadedFiles; sub usage { print STDERR <