https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43549 --- Comment #11 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 209227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209227&action=edit Bug 43549: (follow-up) Use the new Koha::Script exclusive option support for --restrictions/--all-restrictions Replace the hand-rolled $usage->die() mutual-exclusivity check with the declarative exclusive key added to Koha::Script->describe_options on bug 43557, removing another piece of hand-rolled option validation. Test plan: 1. cleanup_database.pl --restrictions 10 --all-restrictions Still rejected as mutually exclusive, same message as before. 2. cleanup_database.pl --restrictions 10 Still runs (dry-run without --confirm), unaffected. 3. koha-qa.pl passes. Signed-off-by: Juliet Heltibridle <jheltibridle@rcplib.org> Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.