helly Mon Jun 6 03:11:10 2005 EDT Modified files: /php-src/sapi/cli php_cli.c Log: - Expose -a as special mode and show whether it is a shell or not http://cvs.php.net/diff.php/php-src/sapi/cli/php_cli.c?r1=1.125&r2=1.126&ty=u Index: php-src/sapi/cli/php_cli.c diff -u php-src/sapi/cli/php_cli.c:1.125 php-src/sapi/cli/php_cli.c:1.126 --- php-src/sapi/cli/php_cli.c:1.125 Tue May 17 10:33:15 2005 +++ php-src/sapi/cli/php_cli.c Mon Jun 6 03:11:08 2005 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_cli.c,v 1.125 2005/05/17 14:33:15 johannes Exp $ */ +/* $Id: php_cli.c,v 1.126 2005/06/06 07:11:08 helly Exp $ */ #include "php.h" #include "php_globals.h" @@ -385,8 +385,13 @@ " %s [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]\n" " %s [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]\n" " %s [options] -- [args...]\n" + " %s [options] -a\n" "\n" +#if HAVE_LIBREADLINE || HAVE_LIBEDIT + " -a Run as interactive shell\n" +#else " -a Run interactively\n" +#endif " -c <path>|<file> Look for php.ini file in this directory\n" " -n No php.ini file will be used\n" " -d foo[=bar] Define INI entry foo with value 'bar'\n" @@ -410,7 +415,7 @@ " args... Arguments passed to script. Use -- args when first argument\n" " starts with - or script is read from stdin\n" "\n" - , prog, prog, prog, prog, prog); + , prog, prog, prog, prog, prog, prog); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php