vm: fix typoes in cli package

This commit is contained in:
Anna Shaleva 2020-06-25 10:38:53 +03:00
parent b387deaa05
commit 1c1818d97e

View file

@ -71,7 +71,7 @@ var commands = []*ishell.Cmd{
Help: "Load a NEF-consistent script into the VM", Help: "Load a NEF-consistent script into the VM",
LongHelp: `Usage: loadnef <file> LongHelp: `Usage: loadnef <file>
<file> is mandatory parameter, example: <file> is mandatory parameter, example:
> load /path/to/script.nef`, > loadnef /path/to/script.nef`,
Func: handleLoadNEF, Func: handleLoadNEF,
}, },
{ {
@ -87,15 +87,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 0c0c48656c6c6f20776f726c6421`, > loadhex 0c0c48656c6c6f20776f726c6421`,
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,
}, },
{ {