diff --git a/application/controllers/CommandController.php b/application/controllers/CommandController.php index 92070c65..fe0dc6d1 100644 --- a/application/controllers/CommandController.php +++ b/application/controllers/CommandController.php @@ -32,7 +32,9 @@ class CommandController extends ObjectController */ public function indexAction() { - $this->showUsage(); + if (! $this->getRequest()->isApiRequest()) { + $this->showUsage(); + } parent::indexAction(); }