Skip to content

Commit

Permalink
Fix #77767: phpdbg break command help message shows incorrect aliases
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mlauter authored and nikic committed Mar 19, 2019
1 parent 41bc51c commit 09e5223
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions sapi/phpdbg/phpdbg_help.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 09e5223

Please sign in to comment.