Skip to content

Commit 12dc645

Browse files
fix: improve message
1 parent f9dff9a commit 12dc645

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/mcpm/commands/router.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def set_router_config(host, port):
181181
else:
182182
console.print("[bold red]Error:[/] Failed to save router configuration.")
183183

184-
if Confirm.ask("Do you want to update router for all clients?"):
184+
if Confirm.ask("Do you want to update router for all clients now?"):
185185
active_profile = ClientRegistry.get_active_profile()
186186
if not active_profile:
187187
console.print("[yellow]No active profile found, skipped.[/]")
@@ -195,12 +195,12 @@ def set_router_config(host, port):
195195
console.print(f"[yellow]Client '{client}' not found.[/] Skipping...")
196196
continue
197197
if client_manager.get_server(ROUTER_SERVER_NAME):
198-
console.print(f"[cyan]Updating profile for {client}...[/]")
198+
console.print(f"[cyan]Updating profile router for {client}...[/]")
199199
client_manager.deactivate_profile()
200200
client_manager.activate_profile(active_profile, config_manager.get_router_config())
201-
console.print(f"[green]Profile updated for {client}[/]")
202-
console.print("[bold green]Success: Router updated for all clients[/]")
203-
console.print("[bold yellow]Restart MCPRouter to apply changes.[/]\n")
201+
console.print(f"[green]Profile router updated for {client}[/]")
202+
console.print("[bold green]Success: Profile router updated for all clients[/]")
203+
console.print("[bold yellow]Restart MCPRouter to apply new settings.[/]\n")
204204

205205

206206
@router.command(name="off")

0 commit comments

Comments
 (0)