Browse Source

book -> --book

visuddhinanda 2 years ago
parent
commit
7027772d4d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Console/Commands/UpgradeTestData.php

+ 3 - 3
app/Console/Commands/UpgradeTestData.php

@@ -41,9 +41,9 @@ class UpgradeTestData extends Command
     {
     {
         $this->call('init:cs6sentence',[$this->argument('book')]);
         $this->call('init:cs6sentence',[$this->argument('book')]);
         $this->call('upgrade:wbw.template',[$this->argument('book')]);
         $this->call('upgrade:wbw.template',[$this->argument('book')]);
-        $this->call('upgrade:chapter.dynamic.weekly',["book"=>$this->argument('book'),"offset"=>300]);
-        $this->call('upgrade:palitext',["from"=>$this->argument('book'),"offset"=>300]);
-        $this->call('upgrade:compound',["book"=>$this->argument('book')]);
+        $this->call('upgrade:chapter.dynamic.weekly',["--book"=>$this->argument('book'),"--offset"=>300]);
+        $this->call('upgrade:palitext',[$this->argument('book')]);
+        $this->call('upgrade:compound',["--book"=>$this->argument('book')]);
         return 0;
         return 0;
     }
     }
 }
 }