From 3a7b359055f4277d3a07b3b7bf8580ef575c54a8 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 4 Sep 2020 17:29:41 +0300 Subject: remove of Quiet mode, this will be obsolete --- cmd/dmap/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd/dmap') diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go index 4f6611c..470ce76 100644 --- a/cmd/dmap/main.go +++ b/cmd/dmap/main.go @@ -21,7 +21,6 @@ func main() { var displayVersion bool var noColor bool var queryStr string - var quietEnable bool var sshPort int args := clients.Args{ @@ -34,7 +33,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(&args.Timeout, "timeout", 0, "Max time dtail server will collect data until disconnection") flag.IntVar(&sshPort, "port", 2222, "SSH server port") @@ -56,7 +54,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}) client, err := clients.NewMaprClient(args, queryStr, clients.DefaultMode) if err != nil { -- cgit v1.2.3