Enable nodelist import test mode
This commit is contained in:
@@ -18,7 +18,8 @@ class NodelistImport extends Command
|
||||
.' {file : File ID | filename}'
|
||||
.' {domain? : Domain Name}'
|
||||
.' {--D|delete : Delete old data for the date}'
|
||||
.' {--U|unlink : Delete file after import}';
|
||||
.' {--U|unlink : Delete file after import}'
|
||||
.' {--T|test : Dry run}';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
@@ -38,7 +39,8 @@ class NodelistImport extends Command
|
||||
is_numeric($x=$this->argument('file')) ? File::findOrFail($x) : $x,
|
||||
$this->argument('domain'),
|
||||
$this->option('delete'),
|
||||
$this->option('unlink')
|
||||
$this->option('unlink'),
|
||||
$this->option('test')
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user