Permalink
Browse files

Print error if no modules are specified

  • Loading branch information...
Nhoya committed Jan 26, 2018
1 parent 40705e3 commit 54fae235feccba60d06836206bc52322071220e3
Showing with 5 additions and 0 deletions.
  1. +5 −0 gOSINT.go
@@ -52,6 +52,11 @@ func main() {
os.Exit(1)
}
if opts.Module == "" {
fmt.Println("You need to specify the module you want to use, -h for more info")
os.Exit(1)
}
if opts.Version {
fmt.Println("gOSINT " + ver)
os.Exit(0)

0 comments on commit 54fae23

Please sign in to comment.