]> granicus.if.org Git - php/commitdiff
- print command has optional arguments
authorFelipe Pena <felipensp@gmail.com>
Mon, 18 Nov 2013 00:55:52 +0000 (22:55 -0200)
committerFelipe Pena <felipensp@gmail.com>
Mon, 18 Nov 2013 00:55:52 +0000 (22:55 -0200)
phpdbg_prompt.c

index 60852b4430bc0170f8ae18623aaeb8ecfbcac9bd..583549c4a5a5e177d58e1bf110abd96d0e33d224 100644 (file)
@@ -67,7 +67,7 @@ static const phpdbg_command_t phpdbg_prompt_commands[] = {
        PHPDBG_COMMAND_D(until,   "continue until reaches next line",         'u', NULL, 0),
        PHPDBG_COMMAND_D(finish,  "continue past the end of the stack",       'f', NULL, 0),
        PHPDBG_COMMAND_D(leave,   "continue until the end of the stack",      'L', NULL, 0),
-       PHPDBG_COMMAND_D(print,   "print something",                          'p', phpdbg_print_commands, 1),
+       PHPDBG_COMMAND_D(print,   "print something",                          'p', phpdbg_print_commands, 2),
        PHPDBG_COMMAND_D(break,   "set breakpoint",                           'b', phpdbg_break_commands, 1),
        PHPDBG_COMMAND_D(back,    "show trace",                               't', NULL, 0),
        PHPDBG_COMMAND_D(list,    "lists some code",                          'l', phpdbg_list_commands, 2),