Skip to content

Commit

Permalink
Turn off redirect by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rverton committed Nov 29, 2020
1 parent 8e76432 commit 5e3c0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/webanalyze/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
hosts string
crawlCount int
searchSubdomain bool
silent bool
silent bool
redirect bool
)

Expand All @@ -39,7 +39,7 @@ func init() {
flag.IntVar(&crawlCount, "crawl", 0, "links to follow from the root page (default 0)")
flag.BoolVar(&searchSubdomain, "search", true, "searches all urls with same base domain (i.e. example.com and sub.example.com)")
flag.BoolVar(&silent, "silent", false, "avoid printing header (default false)")
flag.BoolVar(&redirect, "redirect", true, "follow http redirects (default true)")
flag.BoolVar(&redirect, "redirect", false, "follow http redirects (default false)")
}

func main() {
Expand Down

0 comments on commit 5e3c0f1

Please sign in to comment.