Use correct command in deprecated download command message

This commit is contained in:
ines 2017-03-18 17:01:01 +01:00
parent 0dd7710556
commit 850650221a

View File

@ -125,7 +125,7 @@ class ModelDownload():
def load(self, lang):
util.print_msg(
"The spacy.{l}.download command is now deprecated. Please use "
"spacy.download [model name or shortcut] instead. For more "
"python -m spacy download [model name or shortcut] instead. For more "
"info and available models, see the documentation: {d}. "
"Downloading default '{l}' model now...".format(d=about.__docs__, l=lang),
title="Warning: deprecated command")