Changeset 4779


Ignore:
Timestamp:
2003-06-24T13:15:11+12:00 (21 years ago)
Author:
mdewsnip
Message:

Tidied up the code for displaying usage text.

Location:
trunk/gsdl/bin/script
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/classinfo.pl

    r4762 r4779  
    8383    my $classobj = shift @$classinfo;
    8484
    85     if ($xml)
    86     {
     85    if ($xml) {
    8786        $classobj->print_xml_usage();
    8887    }
    89     else
    90     {
     88    else {
    9189    print STDERR "
    9290$classifier info:
     
    103101    print STDERR "General options are inherited from parent classes of the classifer.\n\n";
    104102
    105 # General options are defined within the base class (BasClas.pm) and are
    106 # inherited by any classifier that has been correctly derived from BasClas.
    107 
    108 # Specific options are defined within the classifier itself and are available
    109 # only to this particular classifier.
    110 
    111 # $classifier takes the following specific options:
    112 # ";
    113     # $classobj->print_usage();
    114     $classobj->new_print_usage();
    115 
    116 #   print STDERR "$classifier takes the following general options
    117 # ";
    118 #   &BasClas::print_general_usage($classifier);
     103    $classobj->print_txt_usage();
    119104    }
    120105}
  • trunk/gsdl/bin/script/pluginfo.pl

    r4749 r4779  
    104104
    105105    print STDERR "General options are inherited from parent classes of the plugin.\n\n";
    106 #   print STDERR "General options are defined within the base class (BasPlug.pm) and are\n";
    107 #   print STDERR "inherited by any plugin that has been correctly derived from BasPlug.\n\n";
    108106
    109 #   print STDERR "$plugin takes the following specific options:\n";
    110     # $plugobj->print_usage();
    111     $plugobj->new_print_usage();
    112 
    113 #   print STDERR "$plugin takes the following general options:\n";
    114 #   &BasPlug::print_general_usage($plugin);
     107    $plugobj->print_txt_usage();
    115108
    116109#   print STDERR " The default process_exp for $plugin is: ";
Note: See TracChangeset for help on using the changeset viewer.