cli: rename --debug flag in contract compile

This commit is contained in:
Evgenii Stratonikov 2020-04-06 15:32:06 +03:00
parent 60b795f3ac
commit 73c7b408b7

View file

@ -89,8 +89,8 @@ func NewCommands() []cli.Command {
Usage: "Output of the compiled contract",
},
cli.BoolFlag{
Name: "debug, d",
Usage: "Debug mode will print out additional information after a compiling",
Name: "verbose, v",
Usage: "Print out additional information after a compiling",
},
cli.StringFlag{
Name: "emitdebug",
@ -351,7 +351,7 @@ func contractCompile(ctx *cli.Context) error {
o := &compiler.Options{
Outfile: ctx.String("out"),
Debug: ctx.Bool("debug"),
Debug: ctx.Bool("verbose"),
DebugInfo: ctx.String("emitdebug"),
}