mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
cli: rename --debug flag in contract compile
This commit is contained in:
parent
60b795f3ac
commit
73c7b408b7
1 changed files with 3 additions and 3 deletions
|
@ -89,8 +89,8 @@ func NewCommands() []cli.Command {
|
||||||
Usage: "Output of the compiled contract",
|
Usage: "Output of the compiled contract",
|
||||||
},
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "debug, d",
|
Name: "verbose, v",
|
||||||
Usage: "Debug mode will print out additional information after a compiling",
|
Usage: "Print out additional information after a compiling",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "emitdebug",
|
Name: "emitdebug",
|
||||||
|
@ -351,7 +351,7 @@ func contractCompile(ctx *cli.Context) error {
|
||||||
|
|
||||||
o := &compiler.Options{
|
o := &compiler.Options{
|
||||||
Outfile: ctx.String("out"),
|
Outfile: ctx.String("out"),
|
||||||
Debug: ctx.Bool("debug"),
|
Debug: ctx.Bool("verbose"),
|
||||||
|
|
||||||
DebugInfo: ctx.String("emitdebug"),
|
DebugInfo: ctx.String("emitdebug"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue