We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fde2631 commit 367c5dbCopy full SHA for 367c5db
system/Commands/Database/ShowTableInfo.php
@@ -127,13 +127,13 @@ public function run(array $params)
127
CLI::error('Database has no tables!', 'light_gray', 'red');
128
CLI::newLine();
129
130
- return;
+ return EXIT_ERROR;
131
}
132
133
if (array_key_exists('show', $params)) {
134
$this->showAllTables($tables);
135
136
137
138
139
$tableName = $params[0] ?? null;
@@ -154,10 +154,12 @@ public function run(array $params)
154
if (array_key_exists('metadata', $params)) {
155
$this->showFieldMetaData($tableName);
156
157
+ return EXIT_SUCCESS;
158
159
160
$this->showDataOfTable($tableName, $limitRows, $limitFieldValue);
161
+
162
163
164
165
private function showDBConfig(): void
0 commit comments