Branch: Tag:

2004-07-13

2004-07-13 14:52:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor cleanup.

Rev: lib/modules/Getopt.pmod:1.30

441:    my_error( "Unknown option "+opt+".\n", throw_errors );    }    else { -  if(sizeof(argv[i]) == 2) -  my_error( "Unknown option "+argv[i]+".\n", throw_errors ); -  my_error( "Unknown options "+argv[i]+".\n", throw_errors ); +  if(sizeof(opt) == 2) +  my_error( "Unknown option "+opt+".\n", throw_errors ); +  my_error( "Unknown options "+opt+".\n", throw_errors );    }    }