Changeset 3540 for trunk/gsdl/perllib/plugins/RecPlug.pm
- Timestamp:
- 2002-11-18T17:43:56+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/RecPlug.pm
r3116 r3540 106 106 use XML::Parser; 107 107 108 my $arguments = [ { 'name' => "block_exp", 109 'desc' => "Files matching this regular expression will be blocked from being passed to any later plugins in the list. This has no real effect other than to prevent lots of warning messages about input files you don't care about. Each plugin might have a default block_exp. e.g. by default HTMLPlug blocks any files with .gif, .jpg, .jpeg, .png or .css file extensions.", 110 'type' => "string", 111 'deft' => "CVS", 112 'reqd' => "no" }, 113 { 'name' => "use_metadata_files", 114 'desc' => "Read metadata from metadata XML files.", 115 'type' => "flag", 116 'reqd' => "no" } ]; 117 118 my $options = { 'name' => "RecPlug", 119 'desc' => "RecPlug is a plugin which recurses through directories processing 120 # each file it finds. For detailed comments edit <GSDLHOME>/perllib/plugins/RecPlug.pm .", 121 'inherits' => "yes", 122 'args' => $arguments }; 123 108 124 sub print_usage { 109 125 my ($plugin_name) = @_; … … 124 140 $self = new BasPlug ($class, @_); 125 141 142 # 14-05-02 To allow for proper inheritance of arguments - John Thompson 143 my $option_list = $self->{'option_list'}; 144 push( @{$option_list}, $options ); 145 126 146 if (!parsargv::parse(\@_, 127 147 q^use_metadata_files^, \$self->{'use_metadata_files'},
Note:
See TracChangeset
for help on using the changeset viewer.