X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..a2a44b875a02db284d0f67eb9a20506622da2257:/lib-php/cmd.php?ds=sidebyside diff --git a/lib-php/cmd.php b/lib-php/cmd.php index 922193bc..6f1299dd 100644 --- a/lib-php/cmd.php +++ b/lib-php/cmd.php @@ -106,7 +106,7 @@ function getCmdOpt($aArg, $aSpec, &$aResult, $bExitOnError = false, $bExitOnUnkn showUsage($aSpec, $bExitOnError, 'Option \''.$aLine[0].'\' is missing'); } if ($aCounts[$aLine[0]] > $aLine[3]) { - showUsage($aSpec, $bExitOnError, 'Option \''.$aLine[0].'\' is pressent too many times'); + showUsage($aSpec, $bExitOnError, 'Option \''.$aLine[0].'\' is present too many times'); } if ($aLine[6] == 'bool' && !array_key_exists($aLine[0], $aResult)) { $aResult[$aLine[0]] = false;