improved cleanflaglist script
This commit is contained in:
parent
1beb2b4dfa
commit
17b6581aa6
|
@ -4,6 +4,9 @@
|
||||||
// This example demonstrates how to write a drush
|
// This example demonstrates how to write a drush
|
||||||
// script. These scripts are run with the php-script command.
|
// script. These scripts are run with the php-script command.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
// drush php-script cleanflaglist.script
|
||||||
|
|
||||||
use Drush\Drush;
|
use Drush\Drush;
|
||||||
|
|
||||||
$this->output()->writeln("Flagging collection cleaning");
|
$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("The extra options/arguments to this command were:");
|
||||||
$this->output()->writeln(print_r($extra, true));
|
$this->output()->writeln(print_r($extra, true));
|
||||||
|
|
||||||
$delete_all = fasle;
|
$delete_all = false;
|
||||||
$delete_nullname = false;
|
$delete_nullname = false;
|
||||||
$delete_missing = false;
|
$delete_missing = false;
|
||||||
$delete_dups = false;
|
$delete_dups = false;
|
||||||
|
|
Loading…
Reference in New Issue