Site icon Hip-Hop Website Design and Development

wp possibility get blogname –url=my-sub-site.com returning principal website possibility

I’ve a multisite setup with some 14 woocommerce websites.

site_id | area
1       | native.mainsite.com
2       | native.subsite-2.com
3       | native.subsite-3.com
4       | native.subsite-4.com

I wish to retrieve the blogname of subsite 4 (native.subsite-4.com which exists as a working website, and can also be current in wp_blogs).

So, I do: wp possibility get blogname --url=native.subsite-4.com.

It returns the blogname of website 1 (native.mainsite.com, not the subsite set within the –url parameter).

Can anybody reproduce this or have any suggestion on what I’m doing fallacious right here?

I am utilizing the most recent wordpress core.

OS: Darwin 20.5.0 Darwin Kernel Model 20.5.0: Sat Could  8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64 x86_64
Shell:  /bin/zsh
PHP binary: /usr/native/Cellar/php@7.4/7.4.23/bin/php
PHP model:    7.4.23
php.ini used:   /usr/native/and so on/php/7.4/php.ini
MySQL binary:   /usr/native/bin/mysql
MySQL model:  mysql  Ver 15.1 Distrib 10.6.4-MariaDB, for osx10.16 (x86_64) utilizing readline 5.1
SQL modes:  STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
WP-CLI root dir:    phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:  phar://wp-cli.phar/vendor
WP_CLI phar path:   /Customers/jurgen/Websites/native.gasveerwinkel.nl/www
WP-CLI packages dir:    /Customers/jurgen/.wp-cli/packages/
WP-CLI international config:
WP-CLI venture config:
WP-CLI model: 2.5.0