summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiriam Lauter <mlauter@etsy.com>2019-03-18 12:47:18 -0400
committerNikita Popov <nikita.ppv@gmail.com>2019-03-19 09:55:10 +0100
commit09e522322af7268f53d340cbff3d109fab058539 (patch)
tree8817ace610946d0d2588ecdd4cf1c5b10b8145e1
parent41bc51ce2d217aa7aca85b4be289bebf91813423 (diff)
downloadphp-git-09e522322af7268f53d340cbff3d109fab058539.tar.gz
Fix #77767: phpdbg break command help message shows incorrect aliases
Previously the aliases for at and del were listed as A and d in the help message for break. This patch corrects the aliases to be @ and ~ respectively.
-rw-r--r--NEWS4
-rw-r--r--sapi/phpdbg/phpdbg_help.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 1e953a1176..419916f40c 100644
--- a/NEWS
+++ b/NEWS
@@ -41,6 +41,10 @@ PHP NEWS
. Fixed bug #77743 (Incorrect pi node insertion for jmpznz with identical
successors). (Nikita)
+- phpdbg:
+ . Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match
+ actual aliases). (Miriam Lauter)
+
- sodium:
. Fixed bug #77646 (sign_detached() strings not terminated). (Frank)
diff --git a/sapi/phpdbg/phpdbg_help.c b/sapi/phpdbg/phpdbg_help.c
index e9caa18895..b328906d3c 100644
--- a/sapi/phpdbg/phpdbg_help.c
+++ b/sapi/phpdbg/phpdbg_help.c
@@ -544,8 +544,8 @@ phpdbg_help_text_t phpdbg_help_text[] = {
"types:" CR CR
" **Target** **Alias** **Purpose**" CR
-" **at** **A** specify breakpoint by location and condition" CR
-" **del** **d** delete breakpoint by breakpoint identifier number" CR CR
+" **at** **@** specify breakpoint by location and condition" CR
+" **del** **~** delete breakpoint by breakpoint identifier number" CR CR
"**Break at** takes two arguments. The first is any valid target. The second "
"is a valid PHP expression which will trigger the break in "