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

index d1a3331eacb4291618e5763f99570d706104f605..7b62be380ed4d170b2a1f9f9134cc075ecca605e 100644 (file)
@@ -438,10 +438,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);
 }
 /* }}} */