From 73c7b408b7dd2ae7167af57607424e59ae6dc6da Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 6 Apr 2020 15:32:06 +0300 Subject: [PATCH] cli: rename --debug flag in contract compile --- cli/smartcontract/smart_contract.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/smartcontract/smart_contract.go b/cli/smartcontract/smart_contract.go index 7891807e6..73724393e 100644 --- a/cli/smartcontract/smart_contract.go +++ b/cli/smartcontract/smart_contract.go @@ -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"), }