Ignore:
Timestamp:
2004-03-08T15:39:43+13:00 (20 years ago)
Author:
kjdon
Message:

all classifiers now use BasClas.buttonname for their buttonname option description.
removed the old print_usage methods and old usage notes.
added in a test for $self->{'info_only'} in new(): if this is set, don't try and parse the arguments cos we are only running classinfo.pl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/DateList.pm

    r6635 r6968  
    8686    my $option_list = $self->{'option_list'};
    8787    push( @{$option_list}, $options );
     88
     89    if ($self->{'info_only'}) {
     90    # created from classinfo.pl - don't need to parse the arguments
     91    return bless $self, $class;
     92    }
    8893
    8994    $self->{'list'} = {};
Note: See TracChangeset for help on using the changeset viewer.