X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..b8a73192128b162ea32bf2f622875a543a39d955:/lib-php/cmd.php?ds=inline 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;