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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |Command-line scripts can
      release notes|                            |declare their options,
                   |                            |including required ones,
                   |                            |through
                   |                            |`Koha::Script->describe_opt
                   |                            |ions`. This gives every
                   |                            |converted script a
                   |                            |consistent `--help`, a
                   |                            |`--man` manual page and a
                   |                            |fail-fast error for a
                   |                            |missing required option.
                   |                            |`misc/cronjobs/cart_to_shel
                   |                            |f.pl` is the first script
                   |                            |converted.
                   |                            |
                   |                            |**Upgrade notes**
                   |                            |- Getopt::Long::Descriptive
                   |                            |0.109 or later is now
                   |                            |required. On Debian and
                   |                            |Ubuntu it is installed with
                   |                            |the
                   |                            |`libgetopt-long-descriptive
                   |                            |-perl` package; otherwise
                   |                            |install it from the
                   |                            |cpanfile.
                   |                            |- `cart_to_shelf.pl` now
                   |                            |rejects `--hours` values
                   |                            |that are not positive
                   |                            |integers, so a negative
                   |                            |value no longer runs.
                   |                            |- Converted scripts exit
                   |                            |with status 1 on
                   |                            |command-line errors.

-- 
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/

Reply via email to