Skip to content

Commit 72c872e

Browse files
[11.x] Update config:show command (#51902)
* Update config:show command * Update ConfigShowCommand.php --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent df7f734 commit 72c872e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Foundation/Console/ConfigShowCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ class ConfigShowCommand extends Command
1414
*
1515
* @var string
1616
*/
17-
protected $signature = 'config:show {config : The configuration file to show}';
17+
protected $signature = 'config:show {config : The configuration file or key to show}';
1818

1919
/**
2020
* The console command description.
2121
*
2222
* @var string
2323
*/
24-
protected $description = 'Display all of the values for a given configuration file';
24+
protected $description = 'Display all of the values for a given configuration file or key';
2525

2626
/**
2727
* Execute the console command.
@@ -33,7 +33,7 @@ public function handle()
3333
$config = $this->argument('config');
3434

3535
if (! config()->has($config)) {
36-
$this->components->error("Configuration file `{$config}` does not exist.");
36+
$this->components->error("Configuration file or key <comment>{$config}</comment> does not exist.");
3737

3838
return Command::FAILURE;
3939
}

0 commit comments

Comments
 (0)