From: Hannes Magnusson Date: Thu, 9 Apr 2009 10:08:14 +0000 (+0000) Subject: MFH: Fixed bug#47427 (-s outputs, not displays) X-Git-Tag: php-5.2.10RC1~227 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=053c91d1ce918ffe6497b905172f1764f871f4a5;p=php MFH: Fixed bug#47427 (-s outputs, not displays) --- diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in index a212399421..c81684a151 100644 --- a/sapi/cli/php.1.in +++ b/sapi/cli/php.1.in @@ -233,7 +233,7 @@ after processing all input lines .TP .PD 1 .B \-s -Display colour syntax highlighted source +Outputs HTML syntax highlighted source .TP .PD 0 .B \-\-version @@ -247,7 +247,7 @@ Version number .TP .PD 1 .B \-w -Display source with stripped comments and whitespace +Outputs source with stripped comments and whitespace .TP .PD 0 .B \-\-zend\-extension \fIfile\fP diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index d3598efa83..09fe406c54 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -485,9 +485,9 @@ static void php_cli_usage(char *argv0) " -F Parse and execute for every input line\n" " -E Run PHP after processing all input lines\n" " -H Hide any passed arguments from external tools.\n" - " -s Display colour syntax highlighted source.\n" + " -s Outputs HTML syntax highlighted source.\n" " -v Version number\n" - " -w Display source with stripped comments and whitespace.\n" + " -w Outputs source with stripped comments and whitespace.\n" " -z Load Zend extension .\n" "\n" " args... Arguments passed to script. Use -- args when first argument\n"