fix command an error

This commit is contained in:
root 2025-11-21 00:30:49 +00:00
parent ea28665caf
commit 26da379666
1 changed files with 2 additions and 2 deletions

View File

@ -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');