diff options
author | Marcus Boerger <helly@php.net> | 2003-04-27 19:41:36 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-04-27 19:41:36 +0000 |
commit | 1c1aa38ee582ae1b568cb8070d76ca03b997075c (patch) | |
tree | 21d7bc715b4d71f9ee50d7793f1edcabc7e8a8bb /sapi/cli | |
parent | 129d0898caa542d9b7e502255d8965a253146f46 (diff) | |
download | php-git-1c1aa38ee582ae1b568cb8070d76ca03b997075c.tar.gz |
Reset option parsing
# i swear i had them in before last commit
Diffstat (limited to 'sapi/cli')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index b9da7782bf..13f731f851 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -683,6 +683,8 @@ int main(int argc, char *argv[]) INI_HARDCODED("implicit_flush", "1"); INI_HARDCODED("max_execution_time", "0"); + optind = orig_optind; + optarg = orig_optarg; while ((c = php_getopt(argc, argv, OPTIONS, &optarg, &optind, 0)) != -1) { switch (c) { |