diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2020-09-04 17:29:41 +0300 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2020-09-04 17:29:41 +0300 |
| commit | 3a7b359055f4277d3a07b3b7bf8580ef575c54a8 (patch) | |
| tree | 42cd974d97c480a73456636eb651704368a86f9e /cmd/drun | |
| parent | edee62717fbe752556d702c029a5b39de1b04677 (diff) | |
remove of Quiet mode, this will be obsolete
Diffstat (limited to 'cmd/drun')
| -rw-r--r-- | cmd/drun/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/drun/main.go b/cmd/drun/main.go index d18b050..c948c0f 100644 --- a/cmd/drun/main.go +++ b/cmd/drun/main.go @@ -25,7 +25,6 @@ func main() { var displayVersion bool var jobName string var noColor bool - var quietEnable bool var sshPort int userName := user.Name() @@ -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, "Command execution timeout") flag.IntVar(&sshPort, "port", 2222, "SSH server port") @@ -57,7 +55,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}) args.What, args.Arguments = readCommand(command) client, err := clients.NewRunClient(args, background, jobName) |
