Koha/misc/migration_tools
Magnus Enger dbada67196 Bug 4126 - Exit bulkmarcimport if -a and -b given
Currently it is possible to spceify both --biblios and --authorities
as command line switches to bulkmarcimport.pl. This does not make sense
so we should exit early and explain that these switches are mutually
exclusive.

To test:
- Run one of these and check that there is no complaint about missing
  options:
  perl misc/migration_tools/bulkmarcimport.pl -a -b
  sudo koha-shell -c "perl misc/migration_tools/bulkmarcimport.pl -a -b"
  kohadev
- Observe that this displays the perldoc, but does not complain about
  mutually exclusive switches.
- Apply the patch
- Rerun the command(s) from earlier.
- Verify that the script is now halted and a small explanation given.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-02-14 14:00:02 +00:00
..
22_to_30
build_oai_sets.pl Bug 17196: Fix build_oai_sets.pl 2017-01-13 13:49:28 +00:00
buildCOUNTRY.pl
buildEDITORS.pl
buildLANG.pl
bulkmarcimport.pl Bug 4126 - Exit bulkmarcimport if -a and -b given 2017-02-14 14:00:02 +00:00
checkNonIndexedBiblios.pl
create_analytical_rel.pl
fix_onloan.pl
import_lexile.pl
koha-svc.pl
merge_authority.pl
rebuild_zebra.pl Bug 17731: Remove noxml option from rebuild_zebra.pl 2017-01-19 13:05:08 +00:00
rebuild_zebra_sliced.sh
remove_unused_authorities.pl
switch_marc21_series_info.pl Bug 17196: Update switch_marc21_series_info.pl 2017-01-13 13:49:27 +00:00
upgradeitems.pl