From: Hannes Magnusson Date: Thu, 9 Apr 2009 10:07:24 +0000 (+0000) Subject: Fixed bug#47427 (-s outputs, not displays) X-Git-Tag: php-5.4.0alpha1~191^2~3944 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9c166f76e203657c036ca596ac32371665029c4;p=php Fixed bug#47427 (-s outputs, not displays) --- diff --git a/sapi/cli/php.1.in b/sapi/cli/php.1.in index 83acb6e09e..81588ee6b4 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 1792ac888f..814aa382a4 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -510,9 +510,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"