From: Jan Lehnardt Date: Fri, 25 Oct 2002 09:28:55 +0000 (+0000) Subject: - alphabetcial output for php -h (cgi) X-Git-Tag: php-4.3.0pre2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed29169f91b5c0e6e89aca5e4bc4fa3ed578c1f6;p=php - alphabetcial output for php -h (cgi) - cosmetics --- 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 ] | { [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 Parse . Implies `-q'\n" - " -v Version number\n" - " -C Do not chdir to the script's directory\n" - " -c | Look for php.ini file in this directory\n" + php_printf("Usage: %s [-q] [-h] [-s [-v] [-i] [-f ] \n" + " %s [args...]\n" + " -a Run interactively\n" #ifdef PHP_FASTCGI " -b | Bind Path for external FASTCGI Server mode\n" #endif - " -a Run interactively\n" + " -C Do not chdir to the script's directory\n" + " -c | 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 Load Zend extension .\n" + " -f Parse . 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 Load Zend extension .\n" + prog, prog); } /* }}} */