aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-25 17:58:45 +0100
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-25 17:58:45 +0100
commit12a8f863db1cfafb9f4b45d705518a662623f684 (patch)
treefa236df23922cc37e2e4db6c3c14e8ae651c91c3 /internal
parentb0a9fe6d718947863058d2a3acb884cabd831381 (diff)
Fix a few nits
Diffstat (limited to 'internal')
-rw-r--r--internal/options/options.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/options/options.go b/internal/options/options.go
index a567b0e..b00d3f9 100644
--- a/internal/options/options.go
+++ b/internal/options/options.go
@@ -23,7 +23,7 @@ type Options struct {
}
func Parse() (opts Options) {
- flag.StringVar(&opts.InputFile, "i", "lists/small.lst", "input file, one domain name per line")
+ flag.StringVar(&opts.InputFile, "i", "", "input file, one domain name per line")
flag.IntVar(&opts.MaxFileBuffer, "b", 512, "max bytes to read from input file at once in MiB")
flag.Int64Var(&opts.NextLine, "n", 0, "next line to start reading the input file from")
@@ -31,7 +31,7 @@ func Parse() (opts Options) {
flag.DurationVar(&opts.Timeout, "t", 10*time.Second, "timeout for each website visit")
flag.Int64Var(&opts.MaxResponse, "r", 128, "max response body size to accept in MiB")
- flag.StringVar(&opts.CheckerDomain, "c", "rgdd.se", "domain with onion location for setup santity-checks")
+ flag.StringVar(&opts.CheckerDomain, "c", "", "domain with onion location for setup santity-checks")
flag.DurationVar(&opts.CheckerInterval, "C", 10*time.Second, "how often to to run checker")
flag.DurationVar(&opts.MetricsInterval, "m", 5*time.Second, "how often to emit metrics")