From 8e87b0f7f44a025274e3aa8c0f139f3945b007d5 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Mon, 30 May 2022 16:18:37 +0200 Subject: [PATCH] Suggest -f when the workdir already exists --- sbysrc/sby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbysrc/sby.py b/sbysrc/sby.py index d13960c..19a962b 100644 --- a/sbysrc/sby.py +++ b/sbysrc/sby.py @@ -424,7 +424,7 @@ def run_task(taskname): if reusedir: pass elif os.path.isdir(my_workdir): - print(f"ERROR: Directory '{my_workdir}' already exists.") + print(f"ERROR: Directory '{my_workdir}' already exists, use -f to overwrite the existing directory.") sys.exit(1) else: os.makedirs(my_workdir) -- 2.30.2