Skip to content

Commit

Permalink
Update interactive usage text
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhpedersen committed Jan 3, 2024
1 parent aa7f40a commit 41b2d07
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,23 @@ func execCmd(line string) (quit bool) {
func printInteractiveUsage() {
fmt.Println("Uri examples: 'LA3F@5350', 'LA1B-10 v LA5NTA-1', 'LA5NTA:[email protected]:54321'")

methods := []string{
transports := []string{
MethodArdop,
MethodAX25, MethodAX25AGWPE, MethodAX25Linux, MethodAX25SerialTNC,
MethodPactor,
MethodTelnet,
MethodVaraHF,
MethodVaraFM,
}
fmt.Println("Methods:", strings.Join(methods, ", "))
fmt.Println("Transports:", strings.Join(transports, ", "))

cmds := []string{
"connect METHOD:[URI] or alias Connect to a remote station.",
"listen METHOD Listen for incoming connections.",
"unlisten METHOD Unregister listener for incoming connections.",
"freq METHOD:FREQ Change rig frequency.",
"heard Display all stations heard over the air.",
"qtc Print pending outbound messages.",
"connect <connect-url or alias> Connect to a remote station.",
"listen <transport> Listen for incoming connections.",
"unlisten <transport> Unregister listener for incoming connections.",
"freq <transport>[:<freq>] Read/set rig frequency.",
"heard Display all stations heard over the air.",
"qtc Print pending outbound messages.",
}
fmt.Println("Commands: ")
for _, cmd := range cmds {
Expand Down

0 comments on commit 41b2d07

Please sign in to comment.