X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c4f22a42eba499ed1854c5967b2e3932fe9b3896..d2853de47cac812193083f9b144a0bc818205dd6:/lib-php/cmd.php 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;