Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect error message in db search with --format=count #266

Closed
2 tasks done
ernilambar opened this issue Aug 13, 2024 · 0 comments · Fixed by #267
Closed
2 tasks done

Incorrect error message in db search with --format=count #266

ernilambar opened this issue Aug 13, 2024 · 0 comments · Fixed by #267

Comments

@ernilambar
Copy link
Member

Bug Report

Describe the current, buggy behavior

wp db search nilambar --format=count 

Error message:

Error: The "ids" format can only be used for a single table.

Describe what you would expect as the correct outcome

Error message should be.

Error: The "count" format can only be used for a single table.

Let us know what environment you are running this on

OS:	Darwin 22.6.0 Darwin Kernel Version 22.6.0: Mon Apr 22 20:54:28 PDT 2024; root:xnu-8796.141.3.705.2~1/RELEASE_X86_64 x86_64
Shell:	/bin/zsh
PHP binary:	/usr/local/Cellar/php@8.2/8.2.19/bin/php
PHP version:	8.2.19
php.ini used:	/usr/local/etc/php/8.2/php.ini
MySQL binary:	/usr/local/mysql-8.0.36-macos14-x86_64/bin/mysql
MySQL version:	mysql  Ver 8.0.36 for macos14 on x86_64 (MySQL Community Server - GPL)
SQL modes:	
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:	/Users/nilambarsharma/Code/wp-cli-dev/db-command
WP-CLI packages dir:	/Users/nilambarsharma/.wp-cli/packages/
WP-CLI cache dir:	/Users/nilambarsharma/.wp-cli/cache
WP-CLI global config:	
WP-CLI project config:	/Users/nilambarsharma/Code/wp-cli-dev/db-command/wp-cli.yml
WP-CLI version:	2.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant