Skip to content

Commit 5b0826f

Browse files
authored
Always use thv run in example command (#2108)
Signed-off-by: Dan Barr <[email protected]> Co-authored-by: Dan Barr <[email protected]>
1 parent 718e2cb commit 5b0826f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/thv/app/registry.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,7 @@ func printTextServerInfo(name string, server registry.ServerMetadata) {
318318

319319
// Print example command
320320
fmt.Println("\nExample Command:")
321-
if server.IsRemote() {
322-
fmt.Printf(" thv proxy %s\n", name)
323-
} else {
324-
fmt.Printf(" thv run %s\n", name)
325-
}
321+
fmt.Printf(" thv run %s\n", name)
326322
}
327323

328324
// truncateString truncates a string to the specified length and adds "..." if truncated

0 commit comments

Comments
 (0)