From fc00c929c4486e0a2a3c30a3b7f14812eda102b4 Mon Sep 17 00:00:00 2001 From: Lazula <26179473+Lazula@users.noreply.github.com> Date: Wed, 13 Apr 2022 11:34:56 -0500 Subject: [PATCH] Honor help text capitalization --- libr/core/cmd_debug.c | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/libr/core/cmd_debug.c b/libr/core/cmd_debug.c index 1660bf9fda..4e7285fd8e 100644 --- a/libr/core/cmd_debug.c +++ b/libr/core/cmd_debug.c @@ -499,21 +499,16 @@ static const char *help_msg_dts[] = { static const char *help_msg_dx[] = { "Usage: dx", "[aers]", " Debug execution commands", - "dx", " ", "Execute opcodes", - "dxa", " ", "Assemble code and execute", - "dxe", "[?] ", "Compile egg expression and execute it", - "dxr", " ", "Execute opcodes and restore state", - "dxrs", " ", "Execute opcodes and restore state, excluding the stack", - "dxs", " [args]", "Syscall injection (see gs)", + "dx", " ", "execute opcodes", + "dxa", " ", "assemble code and execute", + "dxe", "[?] ", "compile egg expression and execute it", + "dxr", " ", "execute opcodes and restore state", + "dxrs", " ", "execute opcodes and restore state, excluding the stack", + "dxs", " [args]", "syscall injection (see gs)", "\nExamples:", "", "", -<<<<<<< HEAD - "dx", " 9090", "inject two x86 nop", - "\"dxa mov eax,6;mov ebx,0;int 0x80\"", "", "inject and restore state", -======= - "dx", " 9090", "Execute two x86 nops", - "\"dxa mov eax,6;mov ebx,0;\"", "", "Assemble and execute", - "dxs", " write 1, 0x8048, 12", "Write 12 bytes from 0x8048 into stdout", ->>>>>>> Improve dx help and add dxa test + "dx", " 9090", "execute two x86 nops", + "\"dxa mov eax,6;mov ebx,0;\"", "", "assemble and execute", + "dxs", " write 1, 0x8048, 12", "write 12 bytes from 0x8048 into stdout", NULL };