From 12a8f863db1cfafb9f4b45d705518a662623f684 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 25 Mar 2023 17:58:45 +0100 Subject: Fix a few nits --- internal/options/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') 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") -- cgit v1.2.3