Thanks to visit codestin.com Credit goes to github.com
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 1fa4ad5 commit ac1694bCopy full SHA for ac1694b
main.go
@@ -16,9 +16,21 @@ func main() {
16
setup.LinuxSetup()
17
}
18
19
- if len(os.Args) != 2 {
20
- fmt.Println("usage: ./turbo-scanner <host>")
21
- return
+ if runtime.GOOS == "windows" {
+ if len(os.Args) != 2 {
+ fmt.Println("usage: turbo-scanner_010.exe <host>")
22
+ return
23
+ }
24
+ } else if runtime.GOOS == "darwin" {
25
26
+ fmt.Println("usage: ./turbo-scanner_010 <host>")
27
28
29
+ } else if runtime.GOOS == "linux" {
30
31
+ fmt.Println("usage: sudo ./turbo-scanner_010 <host>")
32
33
34
35
36
host := os.Args[1]
0 commit comments