]> granicus.if.org Git - php/commitdiff
correct help for register command
authorkrakjoe <joe.watkins@live.co.uk>
Wed, 20 Nov 2013 14:30:56 +0000 (14:30 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Wed, 20 Nov 2013 14:30:56 +0000 (14:30 +0000)
phpdbg_help.c

index 9aa37310e922bf606fc18e201f0873c50dd1283d..9ee044182e20877cff1848049fa34a542bce78d4 100644 (file)
@@ -412,14 +412,14 @@ PHPDBG_HELP(oplog) /* {{{ */
 PHPDBG_HELP(register) /* {{{ */
 {
        phpdbg_help_header();
-    phpdbg_writeln("Register any global function that accepts 0 or 1 arguments for use as a command in phpdbg console");
+    phpdbg_writeln("Register any global function for use as a command in phpdbg console");
        phpdbg_writeln(EMPTY);
     phpdbg_notice("Examples");
        phpdbg_writeln("\t%sregister scandir", PROMPT);
     phpdbg_writeln("\t%sR scandir", PROMPT);
     phpdbg_writeln("\tWill register the scandir function for use in phpdbg");
        phpdbg_writeln(EMPTY);
-    phpdbg_writeln("Note: argument will be passed as a string to the function and the return printed to the console");
+    phpdbg_writeln("Note: arguments passed as strings, return (if present) print_r'd on console");
     if (zend_hash_num_elements(&PHPDBG_G(registered))) {
                HashPosition position;
                char *name = NULL;