Update UsageError message

This commit is contained in:
Marc 2021-03-22 21:46:05 +01:00
parent 72e8cea8af
commit 64d4ae1a19
1 changed files with 1 additions and 1 deletions

View File

@ -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)