From 8588f5cc84b7b69ad7231b2c987e2626a32e59b1 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Mon, 18 Nov 2013 13:23:28 +0000 Subject: [PATCH] compress text/tidy up --- phpdbg_help.c | 4 ++-- phpdbg_help.h | 14 +++++++------- phpdbg_prompt.c | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/phpdbg_help.c b/phpdbg_help.c index 7bd2e95a71..75b6cb7daf 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -103,8 +103,8 @@ PHPDBG_HELP(compile) /* {{{ */ PHPDBG_HELP(print) /* {{{ */ { phpdbg_help_header(); - phpdbg_writeln("By default, print will show information about the current execution environment"); - phpdbg_writeln("Other printing commands give access to address, file and line information"); + phpdbg_writeln("By default, print will show information about the current execution context"); + phpdbg_writeln("Other printing commands give access to instruction information"); phpdbg_writeln(EMPTY); phpdbg_writeln("Examples:"); phpdbg_writeln("\t%sprint class \\my\\class", PROMPT); diff --git a/phpdbg_help.h b/phpdbg_help.h index a54c43a25b..400d2003cf 100644 --- a/phpdbg_help.h +++ b/phpdbg_help.h @@ -54,23 +54,23 @@ PHPDBG_HELP(shell); */ static const phpdbg_command_t phpdbg_help_commands[] = { PHPDBG_COMMAND_D_EX(exec, "the execution context should be a valid path", 'e', help_exec, NULL, 0), - PHPDBG_COMMAND_D_EX(compile, "pre-compilation allows inspection of code before execution", 'c', help_compile, NULL, 0), + PHPDBG_COMMAND_D_EX(compile, "allow inspection of code before execution", 'c', help_compile, NULL, 0), PHPDBG_COMMAND_D_EX(step, "step through execution to break at every opcode", 's', help_step, NULL, 0), PHPDBG_COMMAND_D_EX(next, "continue executing while stepping or after breaking", 'n', help_next, NULL, 0), PHPDBG_COMMAND_D_EX(run, "execute inside the phpdbg vm", 'r', help_run, NULL, 0), - PHPDBG_COMMAND_D_EX(eval, "access to eval() allows you to affect the environment during execution", 'E', help_eval, NULL, 0), + PHPDBG_COMMAND_D_EX(eval, "access to eval() allows affecting the environment", 'E', help_eval, NULL, 0), PHPDBG_COMMAND_D_EX(until, "continue until the current line is executed", 'u', help_until, NULL, 0), PHPDBG_COMMAND_D_EX(finish, "continue until the current function has returned", 'f', help_finish, NULL, 0), PHPDBG_COMMAND_D_EX(leave, "continue until the current function is returning", 'L', help_leave, NULL, 0), - PHPDBG_COMMAND_D_EX(print, "printing allows inspection of the execution environment", 'p', help_print, NULL, 0), + PHPDBG_COMMAND_D_EX(print, "print context information or instructions", 'p', help_print, NULL, 0), PHPDBG_COMMAND_D_EX(break, "breakpoints allow execution interruption", 'b', help_break, NULL, 0), - PHPDBG_COMMAND_D_EX(clean, "resetting the environment is useful while debugging and recompiling", 'X', help_clean, NULL, 0), - PHPDBG_COMMAND_D_EX(clear, "clearing breakpoints allows you to run code without interruption", 'c', help_clear, NULL, 0), + PHPDBG_COMMAND_D_EX(clean, "resetting the environment is useful while debugging", 'X', help_clean, NULL, 0), + PHPDBG_COMMAND_D_EX(clear, "reset breakpoints to execute without interruption", 'c', help_clear, NULL, 0), PHPDBG_COMMAND_D_EX(info, "quick access to useful information on the console", 'i', help_info, NULL, 0), PHPDBG_COMMAND_D_EX(back, "show debug backtrace information during execution", 't', help_back, NULL, 0), PHPDBG_COMMAND_D_EX(quiet, "be quiet during execution", 's', help_quiet, NULL, 0), - PHPDBG_COMMAND_D_EX(list, "listing code gives you quick access to code while executing", 'l', help_list, NULL, 0), - PHPDBG_COMMAND_D_EX(oplog, "keep clutter off the screen by sending oplogs to a file", 'O', help_oplog, NULL, 0), + PHPDBG_COMMAND_D_EX(list, "list code gives you quick access to code", 'l', help_list, NULL, 0), + PHPDBG_COMMAND_D_EX(oplog, "keep clutter off the screen by logging oplines", 'O', help_oplog, NULL, 0), PHPDBG_COMMAND_D_EX(shell, "execute system commands with direct shell access", '-', help_shell, NULL, 0), PHPDBG_END_COMMAND }; diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 687dcb021e..8789bc2549 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -60,7 +60,7 @@ static PHPDBG_COMMAND(quit); /* }}} */ /* {{{ command declarations */ static const phpdbg_command_t phpdbg_prompt_commands[] = { PHPDBG_COMMAND_D(exec, "set execution context", 'e', NULL, 1), - PHPDBG_COMMAND_D(compile, "attempt to pre-compile execution context", 'c', NULL, 0), + PHPDBG_COMMAND_D(compile, "attempt compilation", 'c', NULL, 0), PHPDBG_COMMAND_D(step, "step through execution", 's', NULL, 1), PHPDBG_COMMAND_D(next, "continue execution", 'n', NULL, 0), PHPDBG_COMMAND_D(run, "attempt execution", 'r', NULL, 0), @@ -789,11 +789,11 @@ static PHPDBG_COMMAND(help) /* {{{ */ phpdbg_writeln("\t-d\t-dmemory_limit=4G\tSet a php.ini directive"); phpdbg_writeln("\t-n\t-N/A\t\t\tDisable default php.ini"); phpdbg_writeln("\t-e\t-emytest.php\t\tSet execution context"); - phpdbg_writeln("\t-v\tN/A\t\t\tEnable opline output while executing"); + phpdbg_writeln("\t-v\tN/A\t\t\tEnable oplog output"); phpdbg_writeln("\t-s\tN/A\t\t\tEnable stepping"); - phpdbg_writeln("\t-b\tN/A\t\t\tDisable the use of colours"); - phpdbg_writeln("\t-i\t-imy.init\t\tSet the phpdbginit file"); - phpdbg_writeln("\t-I\tN/A\t\t\tDisable loading .phpdbginit"); + phpdbg_writeln("\t-b\tN/A\t\t\tDisable colour"); + phpdbg_writeln("\t-i\t-imy.init\t\tSet .phpdbginit file"); + phpdbg_writeln("\t-I\tN/A\t\t\tIgnore default .phpdbginit"); phpdbg_writeln("\t-O\t-Omy.oplog\t\tSets oplog output file"); phpdbg_help_footer(); } break; -- 2.40.0