Changeset 169


Ignore:
Timestamp:
1999-02-24T14:47:22+13:00 (25 years ago)
Author:
sjboddie
Message:

added verbosity option to import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/import.pl

    r130 r169  
    2020    print STDERR "\n  usage: $0 [options] collection-name\n\n";
    2121    print STDERR "  options:\n";
     22    print STDERR "   -verbosity number      0=none, 3=lots\n";
    2223    print STDERR "   -importdir directory   Where the original material lives\n";
    2324    print STDERR "   -archivedir directory  Where the converted material ends up\n";
     
    3334sub main {
    3435    if (!parsargv::parse(\@ARGV,
     36             'verbosity/\d+/2', \$verbosity,
    3537             'importdir/.*/', \$importdir,
    3638             'archivedir/.*/', \$archivedir,
     
    106108
    107109    # create a docsave object to process the documents
    108     $processor = new docsave ($collection, $archive_info);
     110    $processor = new docsave ($collection, $archive_info, $verbosity);
    109111    $processor->setarchivedir ($archivedir);
    110112
Note: See TracChangeset for help on using the changeset viewer.