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 <anke.bruns@gwdg.de> Signed-off-by: Thomas Klausner <domm@plix.at> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit3aefbaeaf6) Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> (cherry picked from commitd46e9d25a9) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
c7f9a1f655
commit
24825b223c
|
|
@ -58,7 +58,7 @@ use Koha::UploadedFiles;
|
|||
|
||||
sub usage {
|
||||
print STDERR <<USAGE;
|
||||
Usage: $0 [-h|--help] [--confirm] [--sessions] [--sessdays DAYS] [-v|--verbose] [--zebraqueue DAYS] [-m|--mail] [--merged] [--import DAYS] [--logs DAYS] [--searchhistory DAYS] [--restrictions DAYS] [--all-restrictions] [--fees DAYS] [--temp-uploads] [--temp-uploads-days DAYS] [--uploads-missing 0|1 ] [--statistics DAYS] [--deleted-catalog DAYS] [--deleted-patrons DAYS] [--old-issues DAYS] [--old-reserves DAYS] [--transfers DAYS] [--labels DAYS] [--cards DAYS] [--bg-days DAYS [--bg-type TYPE] ] [--edifact-messages DAYS]
|
||||
Usage: $0
|
||||
|
||||
-h --help prints this help message, and exits, ignoring all
|
||||
other options
|
||||
|
|
|
|||
Loading…
Reference in New Issue