From 72c872e4883644947a10680e87a8b89cb65f84f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Qu=E1=BB=B3nh=20Nguy=E1=BB=85n?= Date: Wed, 26 Jun 2024 04:28:18 +0700 Subject: [PATCH] [11.x] Update config:show command (#51902) * Update config:show command * Update ConfigShowCommand.php --------- Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/Console/ConfigShowCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Illuminate/Foundation/Console/ConfigShowCommand.php b/src/Illuminate/Foundation/Console/ConfigShowCommand.php index 60b6b4e2e09d..2c5712145e55 100644 --- a/src/Illuminate/Foundation/Console/ConfigShowCommand.php +++ b/src/Illuminate/Foundation/Console/ConfigShowCommand.php @@ -14,14 +14,14 @@ class ConfigShowCommand extends Command * * @var string */ - protected $signature = 'config:show {config : The configuration file to show}'; + protected $signature = 'config:show {config : The configuration file or key to show}'; /** * The console command description. * * @var string */ - protected $description = 'Display all of the values for a given configuration file'; + protected $description = 'Display all of the values for a given configuration file or key'; /** * Execute the console command. @@ -33,7 +33,7 @@ public function handle() $config = $this->argument('config'); if (! config()->has($config)) { - $this->components->error("Configuration file `{$config}` does not exist."); + $this->components->error("Configuration file or key {$config} does not exist."); return Command::FAILURE; }