From 14e07c9ae24122ec19c87647858f465ed25ad6fb Mon Sep 17 00:00:00 2001
From: =?utf8?q?Johannes=20Schl=C3=BCter?= <johannes@php.net>
Date: Tue, 21 Feb 2006 21:14:36 +0000
Subject: [PATCH] - List --rf/--rc/--re only with enabled reflection

---
 sapi/cli/php_cli.c | 2 ++
 1 file changed, 2 insertions(+)

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);
 }
 /* }}} */
-- 
2.40.0