Skip to content

Commit c62f232

Browse files
authored
Merge pull request #5979 from matiasbenedetto/add/quiet-to-comment
2 parents 1488fc1 + 0a48e09 commit c62f232

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
@@ -772,7 +772,7 @@ public static function log( $message ) {
772772
/**
773773
* Display success message prefixed with "Success: ".
774774
*
775-
* Success message is written to STDOUT.
775+
* Success message is written to STDOUT, or discarded when `--quiet` flag is supplied.
776776
*
777777
* Typically recommended to inform user of successful script conclusion.
778778
*
@@ -852,7 +852,7 @@ public static function debug( $message, $group = false ) {
852852
/**
853853
* Display warning message prefixed with "Warning: ".
854854
*
855-
* Warning message is written to STDERR.
855+
* Warning message is written to STDERR, or discarded when `--quiet` flag is supplied.
856856
*
857857
* Use instead of `WP_CLI::debug()` when script execution should be permitted
858858
* to continue.

0 commit comments

Comments
 (0)