diff options
Diffstat (limited to 'cmd/dgrep/main.go')
| -rw-r--r-- | cmd/dgrep/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go index d432135..e58ea8f 100644 --- a/cmd/dgrep/main.go +++ b/cmd/dgrep/main.go @@ -21,7 +21,6 @@ func main() { var displayVersion bool var grep string var noColor bool - var quietEnable bool var sshPort int userName := user.Name() @@ -31,7 +30,6 @@ func main() { flag.BoolVar(&debugEnable, "debug", false, "Activate debug messages") flag.BoolVar(&displayVersion, "version", false, "Display version") flag.BoolVar(&noColor, "noColor", false, "Disable ANSII terminal colors") - flag.BoolVar(&quietEnable, "quiet", false, "Reduce output") flag.IntVar(&args.ConnectionsPerCPU, "cpc", 10, "How many connections established per CPU core concurrently") flag.IntVar(&sshPort, "port", 2222, "SSH server port") flag.StringVar(&args.Discovery, "discovery", "", "Server discovery method") @@ -53,7 +51,7 @@ func main() { } ctx := context.TODO() - logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable}) + logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable}) if grep != "" { args.RegexStr = grep |
