Skip to content

Commit

Permalink
changed shorthand to only --a|all as to not overwrite default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
tweichart committed Oct 1, 2021
1 parent 46d2874 commit 7c98cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/LaraLensCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LaraLensCommand extends Command
{--width-value=' . self::DEFAULT_WIDTH . ' : width of column for value}
{--style=' . self::DEFAULT_STYLE . ' : style for output table (' . self::TABLE_STYLES . ')}
{--skip-database : skip database check (if your laravel app doesn\'t need Database)}
{--v|verbose|all : verbose output (--show=all)}
{--a|all : verbose output (--show=all)}
';

protected $description = 'Show some application configurations.';
Expand Down Expand Up @@ -227,7 +227,7 @@ public function handle()
$this->styleTable = self::DEFAULT_STYLE;
}
$columnSorting = $this->option("column-sort");
$showOptions = $this->option("verbose") ? ['all'] : $this->option("show");
$showOptions = $this->option("all") ? ['all'] : $this->option("show");


if (is_array($showOptions)) {
Expand Down

0 comments on commit 7c98cc0

Please sign in to comment.