From 182ea02c46af28d8dea4e4176b36096ce2c14f8e Mon Sep 17 00:00:00 2001 From: a-kenji Date: Sun, 10 Nov 2024 01:14:40 +0100 Subject: [PATCH] pkgs/cli: Improve tense of message in `machines create` Change the log message tense from present to continuous for improved clarity. The message "Add file" has been changed to "Adding file" to provide a clear indication that the file addition is an ongoing process, not a command (for the user). --- pkgs/clan-cli/clan_cli/machines/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_cli/machines/create.py b/pkgs/clan-cli/clan_cli/machines/create.py index 5838aa2dd..4b7d8bcb1 100644 --- a/pkgs/clan-cli/clan_cli/machines/create.py +++ b/pkgs/clan-cli/clan_cli/machines/create.py @@ -118,7 +118,7 @@ def create_machine(opts: CreateOptions) -> None: def log_copy(src: str, dst: str) -> None: relative_dst = dst.replace(f"{clan_dir}/", "") - log.info(f"Add file: {relative_dst}") + log.info(f"Adding file: {relative_dst}") shutil.copy2(src, dst) shutil.copytree(src, dst, ignore_dangling_symlinks=True, copy_function=log_copy)