jan Fri Oct 25 05:28:57 2002 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
- alphabetcial output for php -h (cgi)
- cosmetics
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.184 php4/sapi/cgi/cgi_main.c:1.185
--- php4/sapi/cgi/cgi_main.c:1.184 Thu Oct 24 09:14:48 2002
+++ php4/sapi/cgi/cgi_main.c Fri Oct 25 05:28:55 2002
@@ -398,25 +398,27 @@
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);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php