Text to go in the release notes:
|
This fixes the misc/cronjobs/writeoff_debts.pl and updates the help. If the --confirm option was not used it was showing the help, instead of showing the accountline records that would be written off. Fixes to the script, and updates to improve the help and error messages include:
- improving the help for the usage and options (it should now be easier to understand how to use the script)
- only showing the usage summary when the wrong options are used (unknown option, no filter options, or no --confirm or --verbose)
- clarifying the help for the --verbose and --confirm options (--verbose is required if --confirm is not used)
- showing an error message when no filter options are used, and when no --confirm or --verbose option is used
- the --category-code option requires another filter option
|