Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkvist committed Jul 6, 2019
1 parent 9645b32 commit 6d780d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Flags:
--goroutines string number of goroutines (default "1")
-h, --help help for whisperer
--urls string simple .txt file with URL's to visit (default "./urls.txt")
--verbose enables verbose mode
```

## URLs file
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&goroutines, "goroutines", "1", "number of goroutines")
rootCmd.PersistentFlags().StringVar(&agent, "agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0", "user agent")
rootCmd.PersistentFlags().StringVar(&urls, "urls", "./urls.txt", "simple .txt file with URL's to visit")
rootCmd.PersistentFlags().BoolVar(&verbose, "verbose", false, "enables verbose")
rootCmd.PersistentFlags().BoolVar(&verbose, "verbose", false, "enables verbose mode")
}

func readFile(route string) error {
Expand Down

0 comments on commit 6d780d2

Please sign in to comment.