From: Antony Dovgal Date: Sun, 10 Sep 2006 11:26:07 +0000 (+0000) Subject: add help X-Git-Tag: RELEASE_1_0_0RC1~1719 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9199419c25b3c1fd1f0d571df6161d3f585bc699;p=php add help scan directories specified in argv --- diff --git a/scripts/dev/check_parameters.php b/scripts/dev/check_parameters.php index bb5e37e158..b97d3a135f 100644 --- a/scripts/dev/check_parameters.php +++ b/scripts/dev/check_parameters.php @@ -333,4 +333,36 @@ function recurse($path) } } -recurse(PHPDIR); +$dirs = array(); + +if (isset($argc) && $argc > 1) { + if ($argv[1] == '-h' || $argv[1] == '-help' || $argv[1] == '--help') { + echo <<