File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ func GetTxCmd() *cobra.Command {
50
50
// GetTxCmdSubmitSignals creates a CLI command for submitting signals
51
51
func GetTxCmdSubmitSignals () * cobra.Command {
52
52
cmd := & cobra.Command {
53
- Use : "signal [signal_id1]: [power1] [signal_id2]: [power2] ..." ,
53
+ Use : "signal [signal_id1], [power1] [signal_id2], [power2] ..." ,
54
54
Short : "Signal signal ids and their powers" ,
55
55
Args : cobra .MinimumNArgs (0 ),
56
56
Long : strings .TrimSpace (
57
57
fmt .Sprintf (
58
58
`Signal signal ids and their power.
59
59
Example:
60
- $ %s tx feeds signal BTC: 1000000 --from mykey
60
+ $ %s tx feeds signal BTC, 1000000 --from mykey
61
61
` ,
62
62
version .AppName ,
63
63
),
@@ -71,7 +71,7 @@ $ %s tx feeds signal BTC:1000000 --from mykey
71
71
delegator := clientCtx .GetFromAddress ()
72
72
var signals []types.Signal
73
73
for i , arg := range args {
74
- idAndPower := strings .SplitN (arg , ": " , 2 )
74
+ idAndPower := strings .SplitN (arg , ", " , 2 )
75
75
if len (idAndPower ) != 2 {
76
76
return fmt .Errorf ("argument %d is not valid" , i )
77
77
}
You can’t perform that action at this time.
0 commit comments