summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2006-02-21 21:14:36 +0000
committerJohannes Schlüter <johannes@php.net>2006-02-21 21:14:36 +0000
commit14e07c9ae24122ec19c87647858f465ed25ad6fb (patch)
tree4ea11be73959c3e6a2d47d99b1e45f0c9032cd3c
parent851e5109f6da4247d7ac4d8f57e34a891a96a206 (diff)
downloadphp-git-14e07c9ae24122ec19c87647858f465ed25ad6fb.tar.gz
- List --rf/--rc/--re only with enabled reflection
-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 d1a3331eac..7b62be380e 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -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);
}
/* }}} */