Skip to content

Commit 0a1b6af

Browse files
committed
fix(update): correct command name to 'dg update' in update notification
1 parent eb9d1d3 commit 0a1b6af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/deepctl-cmd-update/src/deepctl_cmd_update/startup_check.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ def print_pending_notification() -> None:
197197
latest = _result.get("latest")
198198
current = _result.get("current")
199199
if latest and current:
200-
# ANSI yellow text — \033[33m … \033[0m
201200
sys.stderr.write(
202-
f"\033[33mUpdate available: {current}{latest}"
203-
f" — run 'deepctl update' to upgrade\033[0m\n"
201+
f"\n\033[33m Update available: {current}{latest}"
202+
f" — run \033[1mdg update\033[0m\033[33m to upgrade\033[0m\n\n"
204203
)

0 commit comments

Comments
 (0)