diff --git a/Mage/Command/BuiltIn/ListCommand.php b/Mage/Command/BuiltIn/ListCommand.php index 0d27862..30714b2 100644 --- a/Mage/Command/BuiltIn/ListCommand.php +++ b/Mage/Command/BuiltIn/ListCommand.php @@ -40,7 +40,7 @@ class ListCommand extends AbstractCommand $exitCode = $this->listEnvironments(); break; - default; + default: throw new Exception('The Type of Elements to List is needed.'); break; }