summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2016-11-20 05:24:14 +0000
committerJoe Watkins <krakjoe@php.net>2016-11-20 05:25:42 +0000
commit56f9a93939a96f93210809e99fe1d4f536b56b2d (patch)
treedaed3233acd51cef22de4f77ece9ae4c14df4b0e /sapi/phpdbg/phpdbg.c
parentc7d0571ef4f83f9f674325d9bfacd740ed1c3bcd (diff)
downloadphp-git-56f9a93939a96f93210809e99fe1d4f536b56b2d.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index f570763ca0..2adca8e2c8 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1695,7 +1695,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",