]> granicus.if.org Git - php/commitdiff
ini working
authorkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 23:06:20 +0000 (23:06 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sun, 10 Nov 2013 23:06:20 +0000 (23:06 +0000)
phpdbg.c

index 2ebc5184842876081ff82dd2a3fc6402f17b922f..a4984bb7aa7ee0e28bbd58de79917f36a4a47bc0 100644 (file)
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -214,7 +214,7 @@ int main(int argc, char *argv[]) /* {{{ */
        int   ini_entries_len = 0;
        char *ini_path_override = NULL;
        char *php_optarg = NULL;
-    int php_optind = 0;
+    int php_optind = 1;
     int opt;
     
 #ifdef ZTS
@@ -235,7 +235,6 @@ int main(int argc, char *argv[]) /* {{{ */
 #endif
 
     while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
-        printf("OPT: %d\n", opt);
         switch (opt) {
             case 'c':
                 if (ini_path_override) {