Ignore:
Timestamp:
2002-11-18T17:43:56+13:00 (22 years ago)
Author:
kjdon
Message:

added John T's changes into CVS - added info to enable retrieval of usage info in xml

File:
1 edited

Legend:

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

    r2795 r3540  
    4343# tar (for tar)
    4444
     45# 12/05/02 Added usage datastructure - John Thompson
     46
    4547package ZIPPlug;
    4648
     
    5557}
    5658
     59my $options = { 'name'     => "ZIPPlug",
     60                 'desc'     => "Plugin which handles compressed and/or archived input formats currently handled formats and file extensions are:\ngzip (.gz, .z, .tgz, .taz)\nbzip (.bz)\nbzip2 (.bz2)\nzip (.zip .jar)\ntar (.tar)\n\nThis plugin relies on the following utilities being present (if trying to process the corresponding formats):\ngunzip (for gzip)\nbunzip (for bzip)\nbunzip2 \nunzip (for zip)\ntar (for tar)",
     61                     'inherits' => "yes" };
     62
    5763sub new {
    5864    my ($class) = @_;
    5965    my $self = new BasPlug ("ZIPPlug", @_);
     66
     67     # 14-05-02 To allow for proper inheritance of arguments - John Thompson
     68     my $option_list = $self->{'option_list'};
     69     push( @{$option_list}, $options );
    6070
    6171    return bless $self, $class;
Note: See TracChangeset for help on using the changeset viewer.