https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43551
--- Comment #2 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 206179 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=206179&action=edit Bug 43551: Use the new Koha::Script exclusive option support for --code/--exclude-code Replace the one-off $usage->die() mutual-exclusivity check with the declarative exclusive key added to Koha::Script->describe_options on bug 43557, removing the last piece of hand-rolled option validation from this script. Test plan: 1. misc/cronjobs/process_message_queue.pl --code FOO --exclude-code BAR Still rejected as mutually exclusive, same message as before. 2. misc/cronjobs/process_message_queue.pl -c --exclude-code DUEDGST A bare -c is still not falsely rejected (bug 40934). 3. prove t/db_dependent/cronjobs/process_message_queue.pl.t 4. prove t/db_dependent/Letters.t 5. koha-qa.pl passes. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
