-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa7f40a
commit 41b2d07
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 { | ||
|