Skip to content

Commit

Permalink
Fix Laravel 10 bug in stats list command.
Browse files Browse the repository at this point in the history
To reproduce bug.

Download a new install of Laravel. 
Install laravel-stats
php artisan stats

Error Message:
Not enough arguments (missing: "-c|--components=").
  • Loading branch information
csanda87 authored Aug 28, 2023
1 parent 9d61a26 commit f29980c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/StatsListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class StatsListCommand extends Command
*/
protected $signature = 'stats
{--json : Output the statistics as JSON}
{-c|--components= : Comma separated list of components which should be displayed}
{--c|components= : Comma separated list of components which should be displayed}
{--s|share : DEPRECATED Share project statistic with Laravel community <https://stats.laravelshift.com>}
{--name= : Name used when sharing project statistic}
{--dry-run : Do not make request to share statistic}';
Expand Down

0 comments on commit f29980c

Please sign in to comment.