This commit is contained in:
Kekskurse 2021-01-15 23:07:34 +01:00
parent 7dab146c49
commit 43fe499c71

View file

@ -15,7 +15,7 @@ class CalculateSpace extends Command
*
* @var string
*/
protected $signature = 'calculate:space {--day=}';
protected $signature = 'calculate:space {--date=}';
/**
* The console command description.
@ -41,7 +41,7 @@ class CalculateSpace extends Command
*/
public function handle()
{
$day = $this->argument('day');;
$day = $this->option('date');
if(empty($day)) {
$day = date("Y-m-d");
}