From bfb2b93d756ecff895355ed055a969f82dde6be2 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Mon, 1 Sep 2014 13:05:22 -0700 Subject: [PATCH] command/exec: Fixing verbose flag --- command/exec.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/exec.go b/command/exec.go index 2e075789da..272764b726 100644 --- a/command/exec.go +++ b/command/exec.go @@ -115,7 +115,7 @@ func (c *ExecCommand) Run(args []string) int { cmdFlags.StringVar(&c.conf.prefix, "prefix", rExecPrefix, "") cmdFlags.DurationVar(&c.conf.replWait, "wait-repl", 100*time.Millisecond, "") cmdFlags.DurationVar(&c.conf.wait, "wait", time.Second, "") - cmdFlags.BoolVar(&c.conf.verbose, "v", false, "") + cmdFlags.BoolVar(&c.conf.verbose, "verbose", false, "") httpAddr := HTTPAddrFlag(cmdFlags) if err := cmdFlags.Parse(args); err != nil { return 1 @@ -496,7 +496,7 @@ Options: -wait=1s Period to wait with no responses before terminating execution. -wait-repl=100ms Period to wait for replication before firing event. This is an optimization to allow stale reads to be performed. - -v Enables verbose output + -verbose Enables verbose output ` return strings.TrimSpace(helpText) }