vm/cli: fix load commands help

This commit is contained in:
Roman Khimov 2020-06-26 00:13:58 +03:00
parent bc3f17a890
commit c6894bfb3f

View file

@ -68,7 +68,7 @@ var commands = []*ishell.Cmd{
Help: "Load an avm script into the VM", Help: "Load an avm script into the VM",
LongHelp: `Usage: loadavm <file> LongHelp: `Usage: loadavm <file>
<file> is mandatory parameter, example: <file> is mandatory parameter, example:
> load /path/to/script.avm`, > loadavm /path/to/script.avm`,
Func: handleLoadAVM, Func: handleLoadAVM,
}, },
{ {
@ -76,15 +76,15 @@ var commands = []*ishell.Cmd{
Help: "Load a hex-encoded script string into the VM", Help: "Load a hex-encoded script string into the VM",
LongHelp: `Usage: loadhex <string> LongHelp: `Usage: loadhex <string>
<string> is mandatory parameter, example: <string> is mandatory parameter, example:
> load 006166`, > loadhex 006166`,
Func: handleLoadHex, Func: handleLoadHex,
}, },
{ {
Name: "loadgo", Name: "loadgo",
Help: "Compile and load a Go file into the VM", Help: "Compile and load a Go file into the VM",
LongHelp: `Usage: loadhex <file> LongHelp: `Usage: loadgo <file>
<file> is mandatory parameter, example: <file> is mandatory parameter, example:
> load /path/to/file.go`, > loadgo /path/to/file.go`,
Func: handleLoadGo, Func: handleLoadGo,
}, },
{ {