diff --git a/spacy/cli/package.py b/spacy/cli/package.py index 1abc36837..102b07472 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -60,7 +60,8 @@ def create_dirs(package_path, force): shutil.rmtree(unicode_(package_path)) else: util.sys_exit(unicode_(package_path), - "Please delete the directory and try again.", + "Please delete the directory and try again, or use the --force " + "flag to overwrite existing directories.", title="Package directory already exists") Path.mkdir(package_path, parents=True)