Skip to content

Commit 0a48e09

Browse files
Update function comment according to the actual functionality
1 parent a177d5a commit 0a48e09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/class-wp-cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ public static function log( $message ) {
770770
/**
771771
* Display success message prefixed with "Success: ".
772772
*
773-
* Success message is written to STDOUT.
773+
* Success message is written to STDOUT, or discarded when `--quiet` flag is supplied.
774774
*
775775
* Typically recommended to inform user of successful script conclusion.
776776
*
@@ -850,7 +850,7 @@ public static function debug( $message, $group = false ) {
850850
/**
851851
* Display warning message prefixed with "Warning: ".
852852
*
853-
* Warning message is written to STDERR.
853+
* Warning message is written to STDERR, or discarded when `--quiet` flag is supplied.
854854
*
855855
* Use instead of `WP_CLI::debug()` when script execution should be permitted
856856
* to continue.

0 commit comments

Comments
 (0)