cmd/wavelet: remove duplicated dump entry, and add alias
@@ -277,17 +277,7 @@ func NewCLI(client *wctl.Client, opts ...func(cli *CLI)) (*CLI, error) {
{
Name: "dump",
Action: a(c.dump),
- Description: "dump wallet states, and you may use -c to dump contract code and pages",
- Flags: []cli.Flag{
- cli.BoolFlag{
- Name: "c",
- Usage: "dump contract code and pages",
- },
- },
- },
- {
- Name: "dump",
- Action: a(c.dump),
+ Aliases: []string{"d"},
Description: "dump wallet states, and you may use -c to dump contract code and pages",
Flags: []cli.Flag{
cli.BoolFlag{
