commands: fix verbose flag for the active commands command
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
Steven Allen committed
Jan 23, 2019 at 11:25 UTC
7c6ec8185a18f721a5f5e37e18dfbfcd9bba6d1e
1 file changed
+2
-2
core/commands/active.go
+2
-2
@@ -14,7 +14,7 @@ import (
14
)
15
16
const (
17
- verboseOptionName = "v"
17
+ verboseOptionName = "verbose"
18
)
19
20
var ActiveReqsCmd = &cmds.Command{
@@ -29,7 +29,7 @@ Lists running and recently run commands.
29
return cmds.EmitOnce(res, ctx.ReqLog.Report())
30
},
31
Options: []cmdkit.Option{
32
- cmdkit.BoolOption("verbose", verboseOptionName, "Print extra information."),
32
+ cmdkit.BoolOption(verboseOptionName, "v", "Print extra information."),
33
},
34
Subcommands: map[string]*cmds.Command{
35
"clear": clearInactiveCmd,