Skip to content

Commit e51f146

Browse files
committed
Change the argument to path
1 parent f089949 commit e51f146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/Console/PruneCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class PruneCommand extends Command
2424
{--except=* : Class names of the models to be excluded from pruning}
2525
{--chunk=1000 : The number of models to retrieve per chunk of models to be deleted}
2626
{--pretend : Display the number of prunable records found instead of deleting them}
27-
{--default-path=Models : The default path where models are located}';
27+
{--path=Models : The default path where models are located}';
2828

2929
/**
3030
* The console command description.
@@ -122,7 +122,7 @@ protected function models()
122122
*/
123123
protected function getDefaultPath()
124124
{
125-
return app_path($this->option('default-path'));
125+
return app_path($this->option('path'));
126126
}
127127

128128
/**

0 commit comments

Comments
 (0)