From: Marcus Boerger Date: Sat, 14 Jan 2006 02:09:37 +0000 (+0000) Subject: - Make clear what -a mode gets you X-Git-Tag: php-5.1.3RC1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=575e6b6e7c47eb7d6ce59de660c87b2460d93254;p=php - Make clear what -a mode gets you --- 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; }