https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44127 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211739&action=edit Bug 44127: Restore the -h alias for --help in Koha::Script->describe_options cleanup_database.pl, gather_print_notices.pl, longoverdue.pl, process_message_queue.pl and update_totalissues.pl accepted -h as an alias for --help under plain Getopt::Long. After conversion to Getopt::Long::Descriptive (bug 43546) only --help and -? are provided, so -h printed the usage text with an error and exited 1. Add h as an alias of --help unless the script declares an option called h of its own (cart_to_shelf.pl uses -h for --hours). To test: 1. prove t/Koha/Script.t => Success 2. perl misc/cronjobs/longoverdue.pl -h => usage text, exit status 0 3. perl misc/cronjobs/cart_to_shelf.pl -h 1 => treated as --hours 1, not help Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.