diff options
author | Marcus Boerger <helly@php.net> | 2003-02-04 20:52:13 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-02-04 20:52:13 +0000 |
commit | afc673b61d845567b4ca112fc07999ad57c6f095 (patch) | |
tree | 1a8c3f602345360b58503fe6b5c73a41dbdfb145 /sapi/cli/php_cli.c | |
parent | 3eab32163c40202de0522522642bf377ab63753a (diff) | |
download | php-git-afc673b61d845567b4ca112fc07999ad57c6f095.tar.gz |
remove it then....this forces to put work in man page ...
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index b793e51291..3149e46714 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -300,7 +300,7 @@ static void php_cli_usage(char *argv0) " %s [options] -r <code> [--] [args...]\n" " %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] -- [args...]\n" "\n" " -a Run interactively\n" " -c <path>|<file> Look for php.ini file in this directory\n" @@ -325,25 +325,6 @@ 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" -"The PHP Command Line Interface 'CLI' supports the following operation modes:\n" -"\n" -" You can parse and execute files by using parameter -f followed by the\n" -" name of the file to be executed.\n" -"\n" -" Using parameter -r you can directly execute PHP code simply as you would\n" -" do inside a php file when using the eval() function.\n" -"\n" -" It is also possible to process the standard input line by line using either\n" -" the parameter -R or -F. In this mode each separate input line causes the\n" -" code specified by -R (see -r) or the file specified by -F to be executed.\n" -" You can access the input line by $argn. While processing the input lines\n" -" $argi contains the number of the actual line being processed. Further more\n" -" the paramters -B and -E can be used to execute code (see -r) before and\n" -" after input line processing respectively.\n" -"\n" -" If none of -r -f -B -R -F and -E is present but a single parameter is given\n" -" then this parameter is taken as the filename to process (same as with -f)\n" -" If no parameter is present then the standard input is read and executed.\n" , prog, prog, prog, prog, prog); } /* }}} */ |