Skip to content

Commit fa9a21f

Browse files
committed
fix: outdated error message instructions
1 parent be80fa7 commit fa9a21f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/mcpm/commands/target_operations/pop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def pop(server_name):
6161
# Check if client is supported
6262
if client_manager is None:
6363
console.print("[bold red]Error:[/] Unsupported active client")
64-
console.print("Please switch to a supported client using 'mcpm client set <client-name>'")
64+
console.print("Please switch to a supported client using 'mcpm target set @<client-name>'")
6565
return
6666

6767
server_config = client_manager.from_client_format(server_name, server_data)

src/mcpm/utils/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def print_error(message, details=None):
124124
def print_client_error():
125125
"""Print a standardized client-related error message."""
126126
console.print("[bold red]Error:[/] Unsupported active client")
127-
console.print("Please switch to a supported client using 'mcpm client set <client-name>'")
127+
console.print("Please switch to a supported client using 'mcpm target set @<client-name>'")
128128

129129

130130
def print_active_scope(scope: str):

0 commit comments

Comments
 (0)