diff --git a/system/Commands/Database/ShowTableInfo.php b/system/Commands/Database/ShowTableInfo.php
index <HASH>..<HASH> 100644
--- a/system/Commands/Database/ShowTableInfo.php
+++ b/system/Commands/Database/ShowTableInfo.php
@@ -81,7 +81,9 @@ class ShowTableInfo extends BaseCommand
 
         $tables = $this->db->listTables();
 
-        $this->sortIsDESC = CLI::getOption('desc');
+        if (CLI::getOption('desc') === true) {
+            $this->sortIsDESC = true;
+        }
 
         if ($tables === []) {
             CLI::error('Database has no tables!', 'light_gray', 'red');
fix: $sortIsDESC assignment

Ensure that boolean is assigned.