mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
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,
|
||||
Flags: []cli.Flag{
|
||||
walletPathFlag,
|
||||
cli.StringFlag{
|
||||
Name: "token",
|
||||
Usage: "Token name or hash",
|
||||
},
|
||||
tokenFlag,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
@ -99,10 +96,7 @@ func newNEP17Commands() []cli.Command {
|
|||
Action: removeNEP17Token,
|
||||
Flags: []cli.Flag{
|
||||
walletPathFlag,
|
||||
cli.StringFlag{
|
||||
Name: "token",
|
||||
Usage: "Token name or hash",
|
||||
},
|
||||
tokenFlag,
|
||||
forceFlag,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue