summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-01-14 02:09:37 +0000
committerMarcus Boerger <helly@php.net>2006-01-14 02:09:37 +0000
commit575e6b6e7c47eb7d6ce59de660c87b2460d93254 (patch)
tree5e178c5d0e5768711e25182eb309ca1f8eb8af47 /sapi/cli/php_cli.c
parentc863542dc15ce9374ce72f31d2006e6dc176fdcf (diff)
downloadphp-git-575e6b6e7c47eb7d6ce59de660c87b2460d93254.tar.gz
- Make clear what -a mode gets you
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index a939e916d9..e196ff3269 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -774,7 +774,11 @@ int main(int argc, char *argv[])
case 'a': /* interactive mode */
if (!interactive) {
+#if (HAVE_LIBREADLINE || HAVE_LIBEDIT) && !defined(COMPILE_DL_READLINE)
+ printf("Interactive shell\n\n");
+#else
printf("Interactive mode enabled\n\n");
+#endif
fflush(stdout);
interactive=1;
}