Commit Graph

25 Commits

Author SHA1 Message Date
Tomas V.V.Cox
1ca5fc5f0a Fix for http://bugs.php.net/bug.php?id=21994 2003-06-30 10:09:44 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Ilia Alshanetsky
dd56de8d1e Disable PEAR tests. These tests have too many dependcies such as
pre-installed PEAR, needing to run as root user, most tests
will fail if PEAR install directory is not inside include_path and so on.
2002-10-22 14:19:02 +00:00
Alan Knowles
c4ef31db26 revert change - this was due to an bug in php HEAD a few days ago 2002-08-05 12:58:38 +00:00
Alan Knowles
fd7e7021c7 Fixed array_shift messing up array_slice.. 2002-08-05 10:37:40 +00:00
Sander Roobol
ef8eb92206 Nuke notice (thanks to Arnaud Limbourg) 2002-08-04 19:00:53 +00:00
Tomas V.V.Cox
6eed1b0243 use $GLOBALS['HTTP_SERVER_VARS'] instead 2002-07-26 10:11:01 +00:00
Tomas V.V.Cox
1690154e62 Silence NOTICE 2002-07-26 10:01:28 +00:00
Stig Bakken
5aab8b2b8b * tolerate $args being empty 2002-07-09 10:52:25 +00:00
Stig Bakken
39ba363638 * POSIX getopt compatibility support (first argv element is the command) 2002-05-26 12:13:47 +00:00
Andrei Zmievski
1668570e4d Changing email address. 2002-05-13 17:28:38 +00:00
Stig Bakken
ebe26ec36c * Try again: fixed Console_Getopt::getopt so it does not steal options
after the first non-option argument.  Added test.
2002-05-12 07:13:49 +00:00
Stig Bakken
d9704c7134 * use PEAR::raiseError 2002-05-11 16:39:39 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Tomas V.V.Cox
db508778ad Added readPHPArgv() function that will safely read the $argv PHP array
across different PHP configurations. Will take care on register_globals
and register_argc_argv ini directives and the new $_SERVER vars
2002-01-06 20:17:00 +00:00
Tomas V.V.Cox
09dba8cf28 reverted the last change for now 2001-12-26 03:58:44 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
883e3395f0 * stop parsing arguments when encoutering the first non-option arg 2001-12-10 16:38:44 +00:00
Markus Fischer
3a1b1142fe Add missing loop variable $i.
Suppress more warnings when using the option separator '--'.
2001-11-11 04:09:08 +00:00
Markus Fischer
d672226d6f Suppress warning on long-options without an additional argument. 2001-11-11 03:59:22 +00:00
Tomas V.V.Cox
1f470ecca6 E_ALL fixes 2001-10-05 01:32:13 +00:00
Andrei Zmievski
6c4d96e8ea Fix long option parsing. 2001-05-29 16:18:35 +00:00
Andrei Zmievski
2d54fb39b9 Use proper class name. 2001-03-12 03:05:04 +00:00
Andrei Zmievski
1346295d86 @- Added Console_Getopt class for parsing command-line args. (Andrei, PEAR) 2001-01-11 18:38:26 +00:00