Skip to content

Commit

Permalink
Update config:show command
Browse files Browse the repository at this point in the history
  • Loading branch information
seriquynh committed Jun 25, 2024
1 parent 7100359 commit 404fb43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Console/ConfigShowCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 (using "dot" annotation) 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 (using "dot" annotation)';

/**
* Execute the console command.
Expand All @@ -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 <comment>{$config}</comment> does not exist.");

return Command::FAILURE;
}
Expand Down

0 comments on commit 404fb43

Please sign in to comment.