diff --git a/src/LaravelSupportCommand.php b/src/LaravelSupportCommand.php index 9d39b79..cddf47a 100644 --- a/src/LaravelSupportCommand.php +++ b/src/LaravelSupportCommand.php @@ -12,7 +12,7 @@ class LaravelSupportCommand extends Command * @var string */ protected $signature = 'LaravelSupportCommand - {command : The artisan command to monitor (e.g., schedule:work, queue:work)} + {artisan-command : The artisan command to monitor (e.g., schedule:work, queue:work)} {--args=* : Additional arguments for the command} {--retry-delay=5 : Seconds to wait before retry on failure}'; @@ -28,7 +28,7 @@ class LaravelSupportCommand extends Command */ public function handle() { - $commandToRun = $this->argument('command'); + $commandToRun = $this->argument('artisan-command'); $args = $this->option('args'); $retryDelay = (int) $this->option('retry-delay');