From 34c8cd019069d956ff14becebb881d91de99e1bc Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 7 Jan 2006 16:46:30 +0000 Subject: - Show whether this is the shell or just the starnge mode --- sapi/cli/php_cli.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 3c8af50109..dda36aa3c4 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -783,7 +783,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; } -- cgit v1.2.1