- Show whether this is the shell or just the starnge mode

This commit is contained in:
Marcus Boerger 2006-01-07 16:46:30 +00:00
parent 5f99b7cb52
commit 34c8cd0190

View File

@ -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;
}