Use one verbose flag description
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
May 19, 2016 at 21:38 UTC
679c0ae3ee6379d7240c4e9a615d5d0712ee1a49
3 files changed
+7
-7
core/commands/active.go
+1
-1
@@ -22,7 +22,7 @@ Lists running and recently run commands.
22
res.SetOutput(req.InvocContext().ReqLog.Report())
23
},
24
Options: []cmds.Option{
25
- cmds.BoolOption("v", "verbose", "Print more verbose output.").Default(false),
25
+ cmds.BoolOption("v", "verbose", "Print extra information.").Default(false),
26
},
27
Subcommands: map[string]*cmds.Command{
28
"clear": clearInactiveCmd,
core/commands/dht.go
+5
-5
@@ -43,7 +43,7 @@ var queryDhtCmd = &cmds.Command{
43
cmds.StringArg("peerID", true, true, "The peerID to run the query against."),
44
},
45
Options: []cmds.Option{
46
- cmds.BoolOption("verbose", "v", "Write extra information.").Default(false),
46
+ cmds.BoolOption("verbose", "v", "Print extra information.").Default(false),
47
},
48
Run: func(req cmds.Request, res cmds.Response) {
49
n, err := req.InvocContext().GetNode()
@@ -135,7 +135,7 @@ var findProvidersDhtCmd = &cmds.Command{
135
cmds.StringArg("key", true, true, "The key to find providers for."),
136
},
137
Options: []cmds.Option{
138
- cmds.BoolOption("verbose", "v", "Write extra information.").Default(false),
138
+ cmds.BoolOption("verbose", "v", "Print extra information.").Default(false),
139
},
140
Run: func(req cmds.Request, res cmds.Response) {
141
n, err := req.InvocContext().GetNode()
@@ -236,7 +236,7 @@ var findPeerDhtCmd = &cmds.Command{
236
cmds.StringArg("peerID", true, true, "The ID of the peer to search for."),
237
},
238
Options: []cmds.Option{
239
- cmds.BoolOption("verbose", "v", "Write extra information.").Default(false),
239
+ cmds.BoolOption("verbose", "v", "Print extra information.").Default(false),
240
},
241
Run: func(req cmds.Request, res cmds.Response) {
242
n, err := req.InvocContext().GetNode()
@@ -339,7 +339,7 @@ There may be several different values for a given key stored in the DHT; in this
339
cmds.StringArg("key", true, true, "The key to find a value for."),
340
},
341
Options: []cmds.Option{
342
- cmds.BoolOption("verbose", "v", "Write extra information.").Default(false),
342
+ cmds.BoolOption("verbose", "v", "Print extra information.").Default(false),
343
},
344
Run: func(req cmds.Request, res cmds.Response) {
345
n, err := req.InvocContext().GetNode()
@@ -451,7 +451,7 @@ NOTE: A value may not exceed 2048 bytes.
451
cmds.StringArg("value", true, false, "The value to store.").EnableStdin(),
452
},
453
Options: []cmds.Option{
454
- cmds.BoolOption("verbose", "v", "Write extra information.").Default(false),
454
+ cmds.BoolOption("verbose", "v", "Print extra information.").Default(false),
455
},
456
Run: func(req cmds.Request, res cmds.Response) {
457
n, err := req.InvocContext().GetNode()
core/commands/object/diff.go
+1
-1
@@ -47,7 +47,7 @@ Example:
47
cmds.StringArg("obj_b", true, false, "Object to diff."),
48
},
49
Options: []cmds.Option{
50
- cmds.BoolOption("verbose", "v", "Produce verbose output."),
50
+ cmds.BoolOption("verbose", "v", "Print extra information."),
51
},
52
Run: func(req cmds.Request, res cmds.Response) {
53
node, err := req.InvocContext().GetNode()