mirror of https://github.com/explosion/spaCy.git
Update error message for missing commands
This commit is contained in:
parent
7f95023fc0
commit
b297fab062
|
@ -109,7 +109,8 @@ class CLI(object):
|
||||||
|
|
||||||
|
|
||||||
def __missing__(self, name):
|
def __missing__(self, name):
|
||||||
print("\n Command %r does not exist\n" % name)
|
print("\n Command %r does not exist."
|
||||||
|
"\n Use the --help flag for a list of available commands.\n" % name)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue