From 1c1659add06611ca269265d0c8fa23e9d4a63792 Mon Sep 17 00:00:00 2001 From: philemon Date: Thu, 16 Apr 2015 22:46:01 +0300 Subject: [PATCH] 'add_label' and 'remove_label' utilities for mmgen/tool.py --- mmgen/tool.py | 46 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) diff --git a/mmgen/tool.py b/mmgen/tool.py index c643cdd0..b057574e 100755 --- a/mmgen/tool.py +++ b/mmgen/tool.py @@ -34,7 +34,7 @@ pnm = g.proj_name from collections import OrderedDict cmd_data = OrderedDict([ - ("help", []), + ("help", [' [str]']), ("usage", [' [str]']), ("strtob58", [' [str]']), ("b58tostr", [' [str]']), @@ -79,6 +79,8 @@ cmd_data = OrderedDict([ ("getbalance", ['minconf [int=1]']), ("txview", ['<{pnm} tx file> [str]','pager [bool=False]','terse [bool=False]'.format(pnm=pnm)]), + ("add_label", ['<{pnm} address> [str]'.format(pnm=pnm),'