Closed schlessera closed 3 years ago
The positional argument <table> for the db columns command is marked as being optional. This should not be the case, as the command requires a valid table name to work correctly.
<table>
db columns
https://github.com/wp-cli/db-command/blob/ca8894aedaff762628fbd25b2bdbf9e1fab92151/src/DB_Command.php#L1464
Right now, if called without a table name, the command throws a PHP notice, instead of letting the user know a required argument is missing.
The positional argument
<table>
for thedb columns
command is marked as being optional. This should not be the case, as the command requires a valid table name to work correctly.https://github.com/wp-cli/db-command/blob/ca8894aedaff762628fbd25b2bdbf9e1fab92151/src/DB_Command.php#L1464
Right now, if called without a table name, the command throws a PHP notice, instead of letting the user know a required argument is missing.