This commit is contained in:
Frank 2021-01-06 11:30:51 +08:00
parent 984e4e9963
commit 25f3384939

View File

@ -28,14 +28,14 @@ func main() {
Value: "~/.lotus", // TODO: Consider XDG_DATA_HOME Value: "~/.lotus", // TODO: Consider XDG_DATA_HOME
}, },
&cli.IntFlag{ &cli.IntFlag{
Name: "limit", Name: "limit",
Usage: "spam transaction count limit, <= 0 is no limit", Usage: "spam transaction count limit, <= 0 is no limit",
Value: 0, Value: 0,
}, },
&cli.IntFlag{ &cli.IntFlag{
Name: "rate", Name: "rate",
Usage: "spam transaction rate, count per second", Usage: "spam transaction rate, count per second",
Value: 5, Value: 5,
}, },
}, },
Commands: []*cli.Command{runCmd}, Commands: []*cli.Command{runCmd},