]> granicus.if.org Git - php/commitdiff
- Make clear what -a mode gets you
authorMarcus Boerger <helly@php.net>
Sat, 14 Jan 2006 02:09:37 +0000 (02:09 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 14 Jan 2006 02:09:37 +0000 (02:09 +0000)
sapi/cli/php_cli.c

index a939e916d9d224d544e49f6502a9b37747a3f937..e196ff32694d98b83de0323cfa42aa1b9d5332ae 100644 (file)
@@ -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;
                                }