mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Add note about --force flag to error message
This commit is contained in:
parent
e3de035814
commit
a3ddbc0444
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user