forked from TrueCloudLab/neoneo-go
vm/cli: fix load commands help
This commit is contained in:
parent
bc3f17a890
commit
c6894bfb3f
1 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue