helly           Sat Dec 10 21:16:27 2005 EDT

  Modified files:              
    /php-src/sapi/cli   php.1.in php_cli.c 
  Log:
  - Add docu
  
http://cvs.php.net/diff.php/php-src/sapi/cli/php.1.in?r1=1.12&r2=1.13&ty=u
Index: php-src/sapi/cli/php.1.in
diff -u php-src/sapi/cli/php.1.in:1.12 php-src/sapi/cli/php.1.in:1.13
--- php-src/sapi/cli/php.1.in:1.12      Wed Aug  3 07:12:18 2005
+++ php-src/sapi/cli/php.1.in   Sat Dec 10 21:16:24 2005
@@ -14,7 +14,7 @@
 ./"    | Author: Marcus Boerger <[EMAIL PROTECTED]>                            
   |
 ./"    +----------------------------------------------------------------------+
 ./" 
-./" $Id: php.1.in,v 1.12 2005/08/03 11:12:18 sniper Exp $
+./" $Id: php.1.in,v 1.13 2005/12/11 02:16:24 helly Exp $
 ./" 
 .TH PHP 1 "Feb 2003" "The PHP Group" "Scripting Language"
 .SH NAME
@@ -283,6 +283,36 @@
 when first argument starts with 
 .B '\-'
 or script is read from stdin
+.TP
+.PD 0
+.B \-\-rfunction
+.IR name
+.TP
+.PD 1
+.B \-\-rf
+.IR name
+Shows information about function
+.B name
+.TP
+.PD 0
+.B \-\-rclass
+.IR name
+.TP
+.PD 1
+.B \-\-rc
+.IR name
+Shows information about class
+.B name
+.TP
+.PD 0
+.B \-\-rextension
+.IR name
+.TP
+.PD 1
+.B \-\-re
+.IR name
+Shows information about extension
+.B name
 .SH FILES
 .TP 15
 .B php\-cli.ini
http://cvs.php.net/diff.php/php-src/sapi/cli/php_cli.c?r1=1.140&r2=1.141&ty=u
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.140 php-src/sapi/cli/php_cli.c:1.141
--- php-src/sapi/cli/php_cli.c:1.140    Sat Dec 10 08:43:51 2005
+++ php-src/sapi/cli/php_cli.c  Sat Dec 10 21:16:24 2005
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_cli.c,v 1.140 2005/12/10 13:43:51 helly Exp $ */
+/* $Id: php_cli.c,v 1.141 2005/12/11 02:16:24 helly Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -139,8 +139,11 @@
        {'v', 0, "version"},
        {'z', 1, "zend-extension"},
 #ifdef HAVE_REFLECTION
+       {10,  1, "rf"},
        {10,  1, "rfunction"},
+       {11,  1, "rc"},
        {11,  1, "rclass"},
+       {12,  1, "re"},
        {12,  1, "rextension"},
 #endif
        {'-', 0, NULL} /* end of args */
@@ -431,6 +434,10 @@
                                "  args...          Arguments passed to script. 
Use -- args when first argument\n"
                                "                   starts with - or script is 
read from stdin\n"
                                "\n"
+                               "  --rf <name>      Show information about 
function <name>.\n"
+                               "  --rc <name>      Show information about 
class <name>.\n"
+                               "  --re <name>      Show information about 
extension <name>.\n"
+                               "\n"
                                , prog, prog, prog, prog, prog, prog);
 }
 /* }}} */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to