From 1676f1618b02406e4f0a24eb77750eef7d649bff Mon Sep 17 00:00:00 2001 From: huangzhhui Date: Tue, 9 Jun 2020 23:32:10 +0800 Subject: [PATCH] Fix the desc --- src/devtool/src/Describe/ListenersCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devtool/src/Describe/ListenersCommand.php b/src/devtool/src/Describe/ListenersCommand.php index 6d86fd13b..354e3b229 100644 --- a/src/devtool/src/Describe/ListenersCommand.php +++ b/src/devtool/src/Describe/ListenersCommand.php @@ -54,8 +54,8 @@ class ListenersCommand extends HyperfCommand protected function configure() { $this->setDescription('Describe the events and listeners.') - ->addOption('events', 'e', InputOption::VALUE_OPTIONAL, 'Get the detail of the specified route information by path', null) - ->addOption('listeners', 'l', InputOption::VALUE_OPTIONAL, 'Which server you want to describe routes.', null); + ->addOption('events', 'e', InputOption::VALUE_OPTIONAL, 'Get the detail of the specified information by events.', null) + ->addOption('listeners', 'l', InputOption::VALUE_OPTIONAL, 'Get the detail of the specified information by listeners.', null); } protected function handleData(ListenerProviderInterface $provider, ?array $events, ?array $listeners): array