ソースを参照

improved cleanflaglist script

bach 2 年 前
コミット
17b6581aa6
1 ファイル変更4 行追加1 行削除
  1. 4 1
      cleanflaglist.script

+ 4 - 1
cleanflaglist.script

@@ -4,6 +4,9 @@
 // This example demonstrates how to write a drush
 // script.  These scripts are run with the php-script command.
 //
+
+// drush php-script cleanflaglist.script
+
 use Drush\Drush;
 
 $this->output()->writeln("Flagging collection cleaning");
@@ -13,7 +16,7 @@ $this->output()->writeln("options : [delete-all | delete-nullname | delete-missi
 $this->output()->writeln("The extra options/arguments to this command were:");
 $this->output()->writeln(print_r($extra, true));
 
-$delete_all = fasle;
+$delete_all = false;
 $delete_nullname = false;
 $delete_missing = false;
 $delete_dups = false;