mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
- Expose -a as special mode and show whether it is a shell or not
This commit is contained in:
parent
6b29526617
commit
acd747d374
@ -385,8 +385,13 @@ static void php_cli_usage(char *argv0)
|
||||
" %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 @@ static void php_cli_usage(char *argv0)
|
||||
" 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);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user