forked from TrueCloudLab/neoneo-go
cli: reuse existing token flag for nep17-related commands
This commit is contained in:
parent
a61a3d5ceb
commit
ba8b0fd7b0
1 changed files with 2 additions and 8 deletions
|
@ -86,10 +86,7 @@ func newNEP17Commands() []cli.Command {
|
||||||
Action: printNEP17Info,
|
Action: printNEP17Info,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
walletPathFlag,
|
walletPathFlag,
|
||||||
cli.StringFlag{
|
tokenFlag,
|
||||||
Name: "token",
|
|
||||||
Usage: "Token name or hash",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -99,10 +96,7 @@ func newNEP17Commands() []cli.Command {
|
||||||
Action: removeNEP17Token,
|
Action: removeNEP17Token,
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
walletPathFlag,
|
walletPathFlag,
|
||||||
cli.StringFlag{
|
tokenFlag,
|
||||||
Name: "token",
|
|
||||||
Usage: "Token name or hash",
|
|
||||||
},
|
|
||||||
forceFlag,
|
forceFlag,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue