]> granicus.if.org Git - php/commitdiff
- MFH: List --rf/--rc/--re only with enabled reflection
authorJohannes Schlüter <johannes@php.net>
Tue, 21 Feb 2006 21:15:13 +0000 (21:15 +0000)
committerJohannes Schlüter <johannes@php.net>
Tue, 21 Feb 2006 21:15:13 +0000 (21:15 +0000)
sapi/cli/php_cli.c

index 83bfc70b00d95deb8878317f3e0eefe7bf0b809b..e83a9728a1bc897a5c1637e05add525258c601ec 100644 (file)
@@ -434,10 +434,12 @@ 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"
+#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);
 }
 /* }}} */