From fa9a21ff38eebc97b9d4612e17fc4e8b9851c613 Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Mon, 30 Jun 2025 14:16:49 -0600 Subject: [PATCH] fix: outdated error message instructions --- src/mcpm/commands/target_operations/pop.py | 2 +- src/mcpm/utils/display.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mcpm/commands/target_operations/pop.py b/src/mcpm/commands/target_operations/pop.py index f01d9231..7f19f1a7 100644 --- a/src/mcpm/commands/target_operations/pop.py +++ b/src/mcpm/commands/target_operations/pop.py @@ -61,7 +61,7 @@ def pop(server_name): # Check if client is supported if client_manager is None: console.print("[bold red]Error:[/] Unsupported active client") - console.print("Please switch to a supported client using 'mcpm client set '") + console.print("Please switch to a supported client using 'mcpm target set @'") return server_config = client_manager.from_client_format(server_name, server_data) diff --git a/src/mcpm/utils/display.py b/src/mcpm/utils/display.py index e609b718..771fa385 100644 --- a/src/mcpm/utils/display.py +++ b/src/mcpm/utils/display.py @@ -124,7 +124,7 @@ def print_error(message, details=None): def print_client_error(): """Print a standardized client-related error message.""" console.print("[bold red]Error:[/] Unsupported active client") - console.print("Please switch to a supported client using 'mcpm client set '") + console.print("Please switch to a supported client using 'mcpm target set @'") def print_active_scope(scope: str):