From b297fab062c9655012891f8b1c3da95bec04fc76 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 26 Mar 2017 15:40:02 +0200 Subject: [PATCH] Update error message for missing commands --- spacy/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/__main__.py b/spacy/__main__.py index 34f5c96ab..598635a9b 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -109,7 +109,8 @@ class CLI(object): 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__':