From 2501ce3cb15677f5150cdf6e4278eb2e778ecafa Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Thu, 17 Feb 2022 15:54:46 +0300 Subject: [PATCH] vm: adjust `run` description for VM CLI With urfave/cli method name can be `help`. --- pkg/vm/cli/cli.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/vm/cli/cli.go b/pkg/vm/cli/cli.go index 231d600f2..3c48cb28e 100644 --- a/pkg/vm/cli/cli.go +++ b/pkg/vm/cli/cli.go @@ -157,9 +157,8 @@ and converted to other formats. Strings are escaped and output in quotes.`, UsageText: `run [ [...]]`, Description: `run [ [...]] - is a contract method, specified in manifest (and it - can't be 'help' at the moment). It can be '_' which will push parameters - onto the stack and execute from the current offset. + is a contract method, specified in manifest. It can be '_' which will push + parameters onto the stack and execute from the current offset. is a parameter (can be repeated multiple times) that can be specified as :, where type can be: '` + boolType + `': supports '` + boolFalse + `' and '` + boolTrue + `' values