Diff for /loncom/build/piml_parse.pl between versions 1.7 and 1.8

version 1.7, 2002/04/08 12:51:03 version 1.8, 2002/11/26 15:25:21
Line 66  use HTML::TokeParser; Line 66  use HTML::TokeParser;
 my $usage=(<<END);  my $usage=(<<END);
 **** ERROR ERROR ERROR ERROR ****  **** ERROR ERROR ERROR ERROR ****
 Usage is for piml file to come in through standard input.  Usage is for piml file to come in through standard input.
 1st argument is the category permissions to use (runtime or development)  1st is install, configinstall, or build
 2nd argument is the distribution (default,redhat6.2,debian2.2,redhat7.1,etc).  2st argument is the category permissions to use (runtime or development)
 3rd argument is to manually specify a targetroot  3nd argument is the distribution (default,redhat6.2,debian2.2,redhat7.1,etc).
   4rd argument is to manually specify a targetroot
   
 Only the 1st argument is mandatory for the program to run.  The first 3 arguments are required for the program to run.
   
 Example:  Example:
   
Line 81  END Line 82  END
 # ------------------------------------------------- Grab command line arguments  # ------------------------------------------------- Grab command line arguments
   
 my $mode;  my $mode;
 if (@ARGV==3) {  if (@ARGV>=3) {
     $mode = shift @ARGV;      $mode = shift @ARGV;
 }  }
 else {  else {

Removed from v.1.7  
changed lines
  Added in v.1.8


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>