Changeset 21341

Show
Ignore:
Timestamp:
14.12.2009 12:46:40 (10 years ago)
Author:
kjdon
Message:

can add internal => 'true' to plugin/classifier option, and it won't get printed out with pluginfo. use for internal options

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/printusage.pm

    r20723 r21341  
    7171 
    7272    foreach my $option (@$options) { 
     73    next if defined($option->{'internal'}); 
     74     
    7375    my $optionname = $option->{'name'}; 
    7476    my $displayname = $option->{'disp'}; 
     
    226228 
    227229    foreach my $option (@$options) { 
     230    next if defined($option->{'internal'}); 
     231 
    228232    # Display option name 
    229233    my $optionname = $option->{'name'};