From f963ffc690dd0a9dfc3634410a7823a6ec2fc9f4 Mon Sep 17 00:00:00 2001 From: Erik Djupvik Date: Fri, 15 Jul 2022 10:43:57 +0200 Subject: [PATCH] Fixes unknown shorthand flag error occurring in ngrok 3.0 --- src/NgrokProcessBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NgrokProcessBuilder.php b/src/NgrokProcessBuilder.php index 3f4a78f..9001193 100644 --- a/src/NgrokProcessBuilder.php +++ b/src/NgrokProcessBuilder.php @@ -55,7 +55,7 @@ public function buildProcess(string $host = '', string $port = '80', string $reg $region = $region ? $region : env('NGROK_REGION', 'eu'); if ($region) { - $command[] = "-region={$region}"; + $command[] = "--region={$region}"; } if ($host !== '') {