File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -345,12 +345,12 @@ private static function guess_url( $assoc_args ) {
345345 }
346346
347347 /**
348- * Checks if the command arguments start with a given prefix.
348+ * Checks if the arguments passed to the WP-CLI binary start with the specified prefix.
349349 *
350- * @param array $prefix An array of strings representing the expected prefix of the command arguments.
351- * For example, `['user', 'list']` would check if the command starts with `user list`.
350+ * @param array $prefix An array of strings specifying the expected start of the arguments passed to the WP-CLI binary .
351+ * For example, `['user', 'list']` checks if the arguments passed to the WP-CLI binary start with `user list`.
352352 *
353- * @return bool `true` if the command arguments start with the given prefix, `false` otherwise.
353+ * @return bool `true` if the arguments passed to the WP-CLI binary start with the specified prefix, `false` otherwise.
354354 */
355355 private function cmd_starts_with ( $ prefix ) {
356356 return array_slice ( $ this ->arguments , 0 , count ( $ prefix ) ) === $ prefix ;
You can’t perform that action at this time.
0 commit comments