From 8b3a5951ad41b7baeff1ec3f9dfcb61643c9d17b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 9 Mar 2016 15:58:09 +0800 Subject: [PATCH] Report/SendEventErrors.php --- Report/SendEventErrors.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Report/SendEventErrors.php b/Report/SendEventErrors.php index 436a738..38d4391 100644 --- a/Report/SendEventErrors.php +++ b/Report/SendEventErrors.php @@ -42,7 +42,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo 'min' => 1, 'max' => 1, ), - , + 'list' => array( 'desc' => 'list the current actions in the database', 'short' => 'L', @@ -67,6 +67,11 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo { $this->opts = $opts; + + if(!empty($this->opts['list'])){ + $this->listTypes(); + } + if(empty($this->opts['group'])){ $this->jerr('Missing group - try add [-t {group name}]'); } -- 2.39.2