X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..487e81fe3c6297fc6ad28183dbc5cc312ed3699a:/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;