com php-src: correct help for register command: phpdbg_help .c

From: Date: Wed, 20 Nov 2013 14:30:56 +0000
Subject: com php-src: correct help for register command: phpdbg_help .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-74765@lists.php.net to get a copy of this message
Commit: 640bf973ce755e8d97abb15f2e46e6118549b09e Author: krakjoe <joe.watkins@live.co.uk> Wed, 20 Nov 2013 14:30:56 +0000 Parents: e71766273077cff6bb8836a37e0d199f4564c612 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=640bf973ce755e8d97abb15f2e46e6118549b09e Log: correct help for register command Changed paths: M phpdbg_help.c Diff: diff --git a/phpdbg_help.c b/phpdbg_help.c index 9aa3731..9ee0441 100644 --- a/phpdbg_help.c +++ b/phpdbg_help.c @@ -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;

« previous php.cvs (#74765) next »