]> granicus.if.org Git - php/commitdiff
- Add docu
authorMarcus Boerger <helly@php.net>
Sun, 11 Dec 2005 02:16:24 +0000 (02:16 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 11 Dec 2005 02:16:24 +0000 (02:16 +0000)
sapi/cli/php.1.in
sapi/cli/php_cli.c

index fb77577353ddd4a2be9b0318321762e3f1f7e74c..2658b384b127a355f2b837deee4189cd54ad43a8 100644 (file)
@@ -283,6 +283,36 @@ Arguments passed to script. Use
 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
index 743ae2d3a86c2e820d0aad4fcfa6718e4d910000..2b3254cc40b2f22c5e60aff21fd826ec8c5d8576 100644 (file)
@@ -139,8 +139,11 @@ static const opt_struct OPTIONS[] = {
        {'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 @@ static void php_cli_usage(char *argv0)
                                "  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);
 }
 /* }}} */