We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d99a9c commit 0be7dc4Copy full SHA for 0be7dc4
aria2update
7.88 MB
go.mod
@@ -0,0 +1,3 @@
1
+module aria2update
2
+
3
+go 1.14
main.go
@@ -3,6 +3,7 @@ package main
import (
4
"bufio"
5
"flag"
6
+ "fmt"
7
"net/http"
8
"os"
9
"path/filepath"
@@ -63,6 +64,8 @@ func main() {
63
64
flag.Parse()
65
if len(flag.Arg(0)) > 0 {
66
listUrl = flag.Arg(0)
67
+ } else {
68
+ fmt.Print("Usage:\n\t./aria2-trackers\nOr:\n\t./aria2-trackers [url of list]\n")
69
}
70
list1, err := downloadList()
71
if err != nil {
0 commit comments