mirror of https://github.com/scrapy/scrapy.git
Update UsageError message
This commit is contained in:
parent
72e8cea8af
commit
64d4ae1a19
|
|
@ -16,7 +16,7 @@ class Command(BaseRunSpiderCommand):
|
|||
if len(args) < 1:
|
||||
raise UsageError()
|
||||
elif len(args) > 1:
|
||||
raise UsageError("running 'scrapy crawl' with more than one spider is no longer supported")
|
||||
raise UsageError("running 'scrapy crawl' with more than one spider is not supported")
|
||||
spname = args[0]
|
||||
|
||||
crawl_defer = self.crawler_process.crawl(spname, **opts.spargs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue