summaryrefslogtreecommitdiff
path: root/phpdbg_set.c
diff options
context:
space:
mode:
authorTerry Ellison <Terry@ellisons.org.uk>2014-02-02 16:35:28 +0000
committerTerry Ellison <Terry@ellisons.org.uk>2014-02-02 16:35:28 +0000
commit88bd558a73e9b29c05b5cc3e9bb78aee46ac5ee0 (patch)
tree9d0bd8aa565f639345518f16a96f5be5b4922c3d /phpdbg_set.c
parent261a5305c6b3528ec45d6e185c50dbac61916dd6 (diff)
downloadphp-git-88bd558a73e9b29c05b5cc3e9bb78aee46ac5ee0.tar.gz
Work in progress chekpoint of changes to help module. To allow peer review and feedback
Diffstat (limited to 'phpdbg_set.c')
-rw-r--r--phpdbg_set.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/phpdbg_set.c b/phpdbg_set.c
index 7c4da12a46..50c07b66d8 100644
--- a/phpdbg_set.c
+++ b/phpdbg_set.c
@@ -26,6 +26,17 @@
ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
+const phpdbg_command_t phpdbg_set_commands[] = {
+ PHPDBG_COMMAND_D_EX(prompt, "usage: set prompt <string>", 'p', set_prompt, NULL, 0),
+#ifndef _WIN32
+ PHPDBG_COMMAND_D_EX(color, "usage: set color <element> <color>", 'c', set_color, NULL, 1),
+ PHPDBG_COMMAND_D_EX(colors, "usage: set colors <on|off>", 'C', set_colors, NULL, 1),
+#endif
+ PHPDBG_COMMAND_D_EX(oplog, "usage: set oplog <output>", 'O', set_oplog, NULL, 0),
+ PHPDBG_COMMAND_D_EX(break, "usage: set break [id] <on|off>", 'b', set_break, NULL, 0),
+ PHPDBG_END_COMMAND
+};
+
PHPDBG_SET(prompt) /* {{{ */
{
switch (param->type) {