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", 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"),
} }