pike.git / lib / modules / Getopt.pmod

version» Context lines:

pike.git/lib/modules/Getopt.pmod:434:    if(opt[1]=='-') {       if(opt=="--") {    argv[i]=0;    break;    }       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 );    }    }       argv -= ({0, 1});       return argv;   }