From aa92d702e5504f454d4e365a8604e3dc9c6a7ece Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Sat, 20 Jan 2018 13:44:28 +0700 Subject: [PATCH] Update help --- myth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myth b/myth index 605f233e..7d7788a5 100755 --- a/myth +++ b/myth @@ -63,7 +63,7 @@ utils = parser.add_argument_group('utilities') utils.add_argument('-d', '--disassemble', action='store_true', help='print disassembly') utils.add_argument('--xrefs', action='store_true', help='get xrefs from a contract') utils.add_argument('--hash', help='calculate function signature hash', metavar='SIGNATURE') -utils.add_argument('--storage', help='read state variables from storage index (index,length,array(in case of arrays)), use with -a', metavar='INDEX') +utils.add_argument('--storage', help='read state variables from storage index, use with -a', metavar='INDEX,NUM_SLOTS,[array]') options = parser.add_argument_group('options') options.add_argument('--ipc', help='use IPC interface instead of RPC', action='store_true') @@ -262,7 +262,7 @@ if args.storage: if re.match("array",params[2]): array = 1 if len(params) >= 4: - exitWithError("Invalid amount of parameters.") + exitWithError("Invalid number of parameters.") except ValueError: exitWithError("Invalid storage index. Please provide a numeric value.")