diff options
author | Marcus Boerger <helly@php.net> | 2006-01-07 16:46:30 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-01-07 16:46:30 +0000 |
commit | 34c8cd019069d956ff14becebb881d91de99e1bc (patch) | |
tree | 334e8e5a268e6f396479929c285d949bb46a081a /sapi/cli/php_cli.c | |
parent | 5f99b7cb528b5e9cf5d74e015b35a96f0c0b4bf0 (diff) | |
download | php-git-34c8cd019069d956ff14becebb881d91de99e1bc.tar.gz |
- Show whether this is the shell or just the starnge mode
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |