diff --git a/src/Commands/StartCommand.php b/src/Commands/StartCommand.php index 689d8ebb1..69b804c1e 100644 --- a/src/Commands/StartCommand.php +++ b/src/Commands/StartCommand.php @@ -21,7 +21,7 @@ class StartCommand extends Command implements SignalableCommandInterface {--workers=auto : The number of workers that should be available to handle requests} {--task-workers=auto : The number of task workers that should be available to handle tasks} {--max-requests=500 : The number of requests to process before reloading the server} - {--config= : The path to the RoadRunner .rr.yaml file} + {--rr-config= : The path to the RoadRunner .rr.yaml file} {--watch : Automatically reload the server when the application is modified}'; /** @@ -77,7 +77,7 @@ protected function startRoadRunnerServer() '--rpc-port' => $this->option('rpc-port'), '--workers' => $this->option('workers'), '--max-requests' => $this->option('max-requests'), - '--config' => $this->option('config'), + '--rr-config' => $this->option('rr-config'), '--watch' => $this->option('watch'), ]); } diff --git a/src/Commands/StartRoadRunnerCommand.php b/src/Commands/StartRoadRunnerCommand.php index 3f7592d8f..9d2be6e81 100644 --- a/src/Commands/StartRoadRunnerCommand.php +++ b/src/Commands/StartRoadRunnerCommand.php @@ -27,7 +27,7 @@ class StartRoadRunnerCommand extends Command implements SignalableCommandInterfa {--rpc-port= : The RPC port the server should be available on} {--workers=auto : The number of workers that should be available to handle requests} {--max-requests=500 : The number of requests to process before reloading the server} - {--config= : The path to the RoadRunner .rr.yaml file} + {--rr-config= : The path to the RoadRunner .rr.yaml file} {--watch : Automatically reload the server when the application is modified}'; /** @@ -139,7 +139,7 @@ protected function workerCount() */ protected function configPath() { - $path = $this->option('config'); + $path = $this->option('rr-config'); if (! $path) { touch(base_path('.rr.yaml'));