From 89bc7bf851dbd2dc18b9064603dd11dff98eadb9 Mon Sep 17 00:00:00 2001 From: ahmed-aliraqi Date: Sun, 17 Sep 2017 15:13:24 +0200 Subject: [PATCH] Add shortcut to model option --- .../Database/Console/Factories/FactoryMakeCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Console/Factories/FactoryMakeCommand.php b/src/Illuminate/Database/Console/Factories/FactoryMakeCommand.php index 3d9a7d7cc528..86341594d133 100644 --- a/src/Illuminate/Database/Console/Factories/FactoryMakeCommand.php +++ b/src/Illuminate/Database/Console/Factories/FactoryMakeCommand.php @@ -78,7 +78,7 @@ protected function getPath($name) protected function getOptions() { return [ - ['model', null, InputOption::VALUE_OPTIONAL, 'The name of the model'], + ['model', 'm', InputOption::VALUE_OPTIONAL, 'The name of the model'], ]; } }