Changeset 5295 for trunk/gsdl


Ignore:
Timestamp:
2003-08-27T15:03:33+12:00 (21 years ago)
Author:
mdewsnip
Message:

Added one tiny little option to help the GLI out with monitoring the progress of importing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/RecPlug.pm

    r4873 r5295  
    146146    if (!parsargv::parse(\@_,
    147147             q^use_metadata_files^, \$self->{'use_metadata_files'},
     148             q^show_progress^, \$self->{'show_progress'}, # Undocumented (for GLI)
    148149             "allow_extra_options")) {
    149150    print STDERR "\nRecPlug uses an incorrect option.\n";
     
    307308    # Recursively read each $subfile
    308309    print $outhandle "RecPlug recurring: $subfile\n" if ($verbosity > 2);
     310    print $outhandle "RecPlug - $subfile\n" if ($self->{'show_progress'});
     311
    309312    $count += &plugin::read ($pluginfo, $base_dir,
    310313                 &util::filename_cat($file, $subfile),
Note: See TracChangeset for help on using the changeset viewer.