Changeset 12614
- Timestamp:
- 2006-08-30T15:57:45+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/classinfo.pl
r12613 r12614 112 112 } 113 113 114 # If there is not exactly 1 argument left ( pluginname), then the arguments were wrong (apart from if we had listall or describeall set)114 # If there is not exactly 1 argument left (classifier name), then the arguments were wrong (apart from if we had listall or describeall set) 115 115 if ($listall == 0 && $describeall ==0 && $intArgLeftinAfterParsing == 0) { 116 gsprintf(STDERR, "{ pluginfo.no_plugin_name}\n\n");117 PrintUsage::print_txt_usage($options, "{ pluginfo.params}", 1);116 gsprintf(STDERR, "{classinfo.no_classifier_name}\n\n"); 117 PrintUsage::print_txt_usage($options, "{classinfo.params}", 1); 118 118 die "\n"; 119 119 } … … 121 121 # we had some arguments that we weren't expecting 122 122 if ($intArgLeftinAfterParsing > 1) { 123 pop(@ARGV); # assume that the last arg is the pluginname123 pop(@ARGV); # assume that the last arg is the classifier name 124 124 gsprintf(STDERR, "{common.invalid_options}\n\n", join (',', @ARGV)); 125 PrintUsage::print_txt_usage($options, "{ pluginfo.params}", 1);125 PrintUsage::print_txt_usage($options, "{classinfo.params}", 1); 126 126 die "\n"; 127 127 }
Note:
See TracChangeset
for help on using the changeset viewer.