Ticket #912 (new defect) — at Initial Version

Opened 3 years ago

Last modified 3 years ago

Flag arguments to full-rebuild

Reported by: kjdon Owned by: kjdon
Priority: moderate Milestone: 3.09 Release
Component: Collection Building Severity: minor
Keywords: Cc:


Full-rebuild.pl can take import or build specific arguments using the -import:arg_name arg_value syntax. It is always looking for an arg value, however, so you can't pass flag arguments.

Make it check arg names against a list of flag args and not look for a value if its a flag. Make the list of flags from the arg data structure. import.pl has a few args itself (most are in inexport), so may need to have import.pm so that full-rebuild.pl can load in import::arguments.

Note: See TracTickets for help on using tickets.