From 5c020ccfbf467e8ecc8f2a6d7eb74573306b1495 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 Signed-off-by: Thomas Klausner --- 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 210df8751f..771846adfc 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -59,7 +59,7 @@ use Koha::UploadedFiles; sub usage { print STDERR <