Skip to content

Commit 00aa3b0

Browse files
committed
wip
1 parent a4e9602 commit 00aa3b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Commands/StartCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class StartCommand extends Command implements SignalableCommandInterface
2121
{--workers=auto : The number of workers that should be available to handle requests}
2222
{--task-workers=auto : The number of task workers that should be available to handle tasks}
2323
{--max-requests=500 : The number of requests to process before reloading the server}
24-
{--config= : The path to the RoadRunner .rr.yaml file}
24+
{--rr-config= : The path to the RoadRunner .rr.yaml file}
2525
{--watch : Automatically reload the server when the application is modified}';
2626

2727
/**
@@ -77,7 +77,7 @@ protected function startRoadRunnerServer()
7777
'--rpc-port' => $this->option('rpc-port'),
7878
'--workers' => $this->option('workers'),
7979
'--max-requests' => $this->option('max-requests'),
80-
'--config' => $this->option('config'),
80+
'--rr-config' => $this->option('rr-config'),
8181
'--watch' => $this->option('watch'),
8282
]);
8383
}

src/Commands/StartRoadRunnerCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class StartRoadRunnerCommand extends Command implements SignalableCommandInterfa
2727
{--rpc-port= : The RPC port the server should be available on}
2828
{--workers=auto : The number of workers that should be available to handle requests}
2929
{--max-requests=500 : The number of requests to process before reloading the server}
30-
{--config= : The path to the RoadRunner .rr.yaml file}
30+
{--rr-config= : The path to the RoadRunner .rr.yaml file}
3131
{--watch : Automatically reload the server when the application is modified}';
3232

3333
/**
@@ -139,7 +139,7 @@ protected function workerCount()
139139
*/
140140
protected function configPath()
141141
{
142-
$path = $this->option('config');
142+
$path = $this->option('rr-config');
143143

144144
if (! $path) {
145145
touch(base_path('.rr.yaml'));

0 commit comments

Comments
 (0)