johannes                Tue Feb 21 21:14:36 2006 UTC

  Modified files:              
    /php-src/sapi/cli   php_cli.c 
  Log:
  - List --rf/--rc/--re only with enabled reflection
  
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cli/php_cli.c?r1=1.146&r2=1.147&diff_format=u
Index: php-src/sapi/cli/php_cli.c
diff -u php-src/sapi/cli/php_cli.c:1.146 php-src/sapi/cli/php_cli.c:1.147
--- php-src/sapi/cli/php_cli.c:1.146    Tue Feb 21 20:12:43 2006
+++ php-src/sapi/cli/php_cli.c  Tue Feb 21 21:14:36 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_cli.c,v 1.146 2006/02/21 20:12:43 dmitry Exp $ */
+/* $Id: php_cli.c,v 1.147 2006/02/21 21:14:36 johannes Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -438,10 +438,12 @@
                                "  args...          Arguments passed to script. 
Use -- args when first argument\n"
                                "                   starts with - or script is 
read from stdin\n"
                                "\n"
+#if (HAVE_REFLECTION)
                                "  --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"
+#endif
                                , 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