diff --git a/src/Console/SearchableModelMakeCommand.php b/src/Console/SearchableModelMakeCommand.php index eeb26e1..e786130 100644 --- a/src/Console/SearchableModelMakeCommand.php +++ b/src/Console/SearchableModelMakeCommand.php @@ -34,14 +34,14 @@ protected function getOptions() $options[] = [ 'index-configurator', - 'i', + null, InputOption::VALUE_REQUIRED, 'Specify the index configurator for the model. It\'ll be created if doesn\'t exist.', ]; $options[] = [ 'search-rule', - 's', + null, InputOption::VALUE_REQUIRED, 'Specify the search rule for the model. It\'ll be created if doesn\'t exist.', ];