diff options
author | Joe Watkins <krakjoe@php.net> | 2016-11-20 05:24:14 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2016-11-20 05:24:14 +0000 |
commit | 7753d104577dfec6a2b253365f539fbfda314e0f (patch) | |
tree | 06194313d98588ab0d878d0bc0c169e82ec2fb0e /sapi/phpdbg/phpdbg.c | |
parent | 48191010d518f6fdaedc50d53f3af8146a14c66d (diff) | |
download | php-git-7753d104577dfec6a2b253365f539fbfda314e0f.tar.gz |
make it possible to show specific help pages without interactive session
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index d2de0c2e30..2c43a9c853 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1658,7 +1658,7 @@ phpdbg_main: PHPDBG_G(io)[PHPDBG_STDOUT].ptr = stdout; PHPDBG_G(io)[PHPDBG_STDOUT].fd = fileno(stdout); if (show_help) { - phpdbg_do_help(NULL); + phpdbg_do_help_cmd(exec); } else if (show_version) { phpdbg_out( "phpdbg %s (built: %s %s)\nPHP %s, Copyright (c) 1997-2016 The PHP Group\n%s", |