https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36027
Julian Maurice <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |[email protected] --- Comment #11 from Julian Maurice <[email protected]> --- Passing arbitrary numbers as command line arguments is not a good UI as it's opaque (no way to guess that "3" means "check item status") and it's very hard to remember what each number does. Also it can make future changes more complicated: for instance if section 3 should be removed, what should we do with this number ? Leave it unassigned and have "gaps" in the sequence ? Re-assign it to another check and break backward compatibility ? IMO it's far better to have option flags. And as the default behavior is to run all checks, those option flags should disable a specific section when given. For instance: --skip-items-branch --skip-age-for-category. Getopt::Long can be used for that Also documentation in POD should be updated and a --help flag should be added to print usage help (see Pod::Usage) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
