|
@@ 90-96 (lines=7) @@
|
| 87 |
|
|
| 88 |
|
return false; |
| 89 |
|
} |
| 90 |
|
if ($this->option('daily')) { |
| 91 |
|
if ($this->option('from') || $this->option('until')) { |
| 92 |
|
$this->error('--daily cannot be combined with --from / --until.'); |
| 93 |
|
|
| 94 |
|
return false; |
| 95 |
|
} |
| 96 |
|
} |
| 97 |
|
if ($this->option('from-dump')) { |
| 98 |
|
if ($this->option('from') || $this->option('until') || $this->option('resume') || $this->option('daily')) { |
| 99 |
|
$this->error('--from-dump cannot be combined with other options.'); |
|
@@ 98-102 (lines=5) @@
|
| 95 |
|
} |
| 96 |
|
} |
| 97 |
|
if ($this->option('from-dump')) { |
| 98 |
|
if ($this->option('from') || $this->option('until') || $this->option('resume') || $this->option('daily')) { |
| 99 |
|
$this->error('--from-dump cannot be combined with other options.'); |
| 100 |
|
|
| 101 |
|
return false; |
| 102 |
|
} |
| 103 |
|
} |
| 104 |
|
if ($this->option('from')) { |
| 105 |
|
if (!preg_match('/[0-9]{4}-[0-9]{2}-[0-9]{2}/', $this->option('from'))) { |