Skip to content

Commit 05a4eed

Browse files
committed
Add @skipglobalargcheck for conflicting arguments
1 parent dd54fa2 commit 05a4eed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Core_Command.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public function check_update( $args, $assoc_args ) {
156156
* md5 hash verified: c5366d05b521831dd0b29dfc386e56a5
157157
* Success: WordPress downloaded.
158158
*
159+
* @skipglobalargcheck Reusing `--path` on purpose.
159160
* @when before_wp_load
160161
*
161162
* @param array{0?: string} $args Positional arguments.
@@ -467,6 +468,8 @@ public function is_installed( $args, $assoc_args ) {
467468
* # Install WordPress without disclosing admin_password to bash history
468469
* $ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_email=info@example.com --prompt=admin_password < admin_password.txt
469470
*
471+
* @skipglobalargcheck Reusing `--url` on purpose.
472+
*
470473
* @param string[] $args Positional arguments. Unused.
471474
* @param array{url: string, title: string, admin_user: string, admin_password?: string, admin_email: string, locale?: string, 'skip-email'?: bool} $assoc_args Associative arguments.
472475
*/
@@ -596,6 +599,7 @@ public function multisite_convert( $args, $assoc_args ) {
596599
* Added multisite constants to wp-config.php.
597600
* Success: Network installed. Don't forget to set up rewrite rules.
598601
*
602+
* @skipglobalargcheck Reusing `--url` on purpose.
599603
* @subcommand multisite-install
600604
*
601605
* @param string[] $args Positional arguments. Unused.

0 commit comments

Comments
 (0)