diff options
| author | Jan Lehnardt <jan@php.net> | 2002-10-25 09:28:55 +0000 |
|---|---|---|
| committer | Jan Lehnardt <jan@php.net> | 2002-10-25 09:28:55 +0000 |
| commit | ed29169f91b5c0e6e89aca5e4bc4fa3ed578c1f6 (patch) | |
| tree | 3ed987b1f63a3d88cd1a0f63b31a348dfe80dd14 /sapi | |
| parent | 34aa59baf9bbd29caf5e5e0d668f7df0e3df45a7 (diff) | |
| download | php-git-ed29169f91b5c0e6e89aca5e4bc4fa3ed578c1f6.tar.gz | |
- alphabetcial output for php -h (cgi)
- cosmetics
Diffstat (limited to 'sapi')
| -rw-r--r-- | sapi/cgi/cgi_main.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 21b62ae9b2..68af36acbf 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -398,25 +398,27 @@ static void php_cgi_usage(char *argv0) prog = "php"; } - php_printf("Usage: %s [-q] [-h] [-s [-v] [-i] [-f <file>] | {<file> [args...]}\n" - " -q Quiet-mode. Suppress HTTP Header output.\n" - " -s Display colour syntax highlighted source.\n" - " -w Display source with stripped comments and whitespace.\n" - " -f <file> Parse <file>. Implies `-q'\n" - " -v Version number\n" - " -C Do not chdir to the script's directory\n" - " -c <path>|<file> Look for php.ini file in this directory\n" + php_printf("Usage: %s [-q] [-h] [-s [-v] [-i] [-f <file>] \n" + " %s <file> [args...]\n" + " -a Run interactively\n" #ifdef PHP_FASTCGI " -b <address:port>|<port> Bind Path for external FASTCGI Server mode\n" #endif - " -a Run interactively\n" + " -C Do not chdir to the script's directory\n" + " -c <path>|<file> Look for php.ini file in this directory\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" + " -f <file> Parse <file>. Implies `-q'\n" + " -h This help\n", + " -i PHP information\n" " -l Syntax check only (lint)\n" " -m Show compiled in modules\n" - " -i PHP information\n" - " -h This help\n", prog); + " -q Quiet-mode. Suppress HTTP Header output.\n" + " -s Display colour syntax highlighted source.\n" + " -v Version number\n" + " -w Display source with stripped comments and whitespace.\n" + " -z <file> Load Zend extension <file>.\n" + prog, prog); } /* }}} */ |
