Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've just noticed that --limit doesn't seem to be working:
$ drush mi --limit="1 item" DSFile
Unknown option: --limit. See `drush help migrate-import` for information on usage. [warning]
Processed 0 (0 created, 0 updated, 0 failed, 0 ignored) in 0 sec (0/min) - done with 'DSFile' [completed]
Comment | File | Size | Author |
---|---|---|---|
#2 | migrate_1342736.patch | 6.71 KB | drewish |
Comments
Comment #1
mikeryanWorks for me, having pulled the latest dev code half an hour ago:
I can't see an obvious reason drush would not be recognizing the option for you, this isn't code that's been touched lately - what does drush help mi say?
Comment #2
drewish CreditAttribution: drewish commentedLooks like someone had updated drush. 5.x doesn't seem to like the -- option prefix.
Comment #3
mikeryanDoesn't seem to hurt drush 4.x...
Comment #4
mikeryanCommitted, thanks!
Comment #5.0
(not verified) CreditAttribution: commentedShortening the long lines.