https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43559

            Bug ID: 43559
           Summary: Convert misc/cronjobs/membership_expiry.pl to the
                    Getopt::Long::Descriptive convention (see bug 43546)
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Convert the plain Getopt::Long option parsing in
misc/cronjobs/membership_expiry.pl to Koha::Script->describe_options,
per the convention established by bug 43546.

This script has a mutually-exclusive option pair, --active/--inactive,
currently enforced with a hand-rolled pod2usage check after parsing.

Depends on bug 43557 (declarative mutually-exclusive option support in
Koha::Script->describe_options), so this pair can be declared rather
than reimplemented as a post-parse check.

Test plan:
1. misc/cronjobs/membership_expiry.pl --help
   Confirm the description and all options are documented.
2. Confirm supplying --active and --inactive together is still
   rejected as mutually exclusive, and each still works on its own.
3. koha-qa.pl passes for the changed file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to