summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2006-02-21 21:15:13 +0000
committerJohannes Schlüter <johannes@php.net>2006-02-21 21:15:13 +0000
commit7409ed64037a469acb83aed64fb81c6511cb89bd (patch)
tree02e9ba41a4f330d3c383acec05a0be3fa572f29a /sapi/cli/php_cli.c
parentf5241f165ff4da42ffdcbfc00af189cb0066fca9 (diff)
downloadphp-git-7409ed64037a469acb83aed64fb81c6511cb89bd.tar.gz
- MFH: List --rf/--rc/--re only with enabled reflection
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 83bfc70b00..e83a9728a1 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -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);
}
/* }}} */