diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-04-12 00:20:29 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-04-12 00:20:29 +0000 |
commit | 439b56842f394759f7c74c71bc61d418c54d4b65 (patch) | |
tree | 27b1ba7e838db4a325ec0ad167d3481c43e939d1 /sapi/cli/php_cli.c | |
parent | fffb1a5d21948960adeb2976372562dd389ce4dd (diff) | |
download | php-git-439b56842f394759f7c74c71bc61d418c54d4b65.tar.gz |
CGI/CLI take file and dir for -c option by this.
@ Both 'file' and 'path to php.ini' is allowed for "-c" cli/cgi option. (Yasuo)
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 42a40a637a..6e4c2a3ca3 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -240,27 +240,27 @@ static void php_cli_usage(char *argv0) } else { prog = "php"; } - + php_printf( "Usage: %s [options] [-f] <file> [args...]\n" " %s [options] -r <code> [args...]\n" " %s [options] [-- args...]\n" - " -s Display colour syntax highlighted source.\n" - " -w Display source with stripped comments and whitespace.\n" - " -f <file> Parse <file>.\n" - " -v Version number\n" - " -c <path> Look for php.ini file in this directory\n" - " -a Run interactively\n" - " -d foo[=bar] Define INI entry foo with value 'bar'\n" - " -e Generate extended information for debugger/profiler\n" - " -z <file> Load Zend extension <file>.\n" - " -l Syntax check only (lint)\n" - " -m Show compiled in modules\n" - " -i PHP information\n" - " -r <code> Run PHP <code> without using script tags <?..?>\n" - " -h This help\n" + " -s Display colour syntax highlighted source.\n" + " -w Display source with stripped comments and whitespace.\n" + " -f <file> Parse <file>.\n" + " -v Version number\n" + " -c <path>|<file> Look for php.ini file in this directory\n" + " -a Run interactively\n" + " -d foo[=bar] Define INI entry foo with value 'bar'\n" + " -e Generate extended information for debugger/profiler\n" + " -z <file> Load Zend extension <file>.\n" + " -l Syntax check only (lint)\n" + " -m Show compiled in modules\n" + " -i PHP information\n" + " -r <code> Run PHP <code> without using script tags <?..?>\n" + " -h This help\n" "\n" - " args... Arguments passed to script. Use -- args when first argument \n" - " starts with - or script is read from stdin\n" + " args... Arguments passed to script. Use -- args when first argument \n" + " starts with - or script is read from stdin\n" , prog, prog, prog); } /* }}} */ |