mirror of
https://github.com/php/php-src.git
synced 2024-11-30 05:13:56 +08:00
- Show whether this is the shell or just the starnge mode
This commit is contained in:
parent
5f99b7cb52
commit
34c8cd0190
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user