From 8fae4434c136df6c77808ce05f1606dada3a4344 Mon Sep 17 00:00:00 2001 From: Nick Levesque Date: Wed, 5 Nov 2014 18:02:44 -0500 Subject: [PATCH] Added searchcontacts command --- lib/commands.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 1e39e095..fd33cf1d 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -58,7 +58,6 @@ paytomany_syntax = "paytomany [ ...]\n< signmessage_syntax = 'signmessage
\nIf you want to lead or end a message with spaces, or want double spaces inside the message make sure you quote the string. I.e. " Hello This is a weird String "' verifymessage_syntax = 'verifymessage
\nIf you want to lead or end a message with spaces, or want double spaces inside the message make sure you quote the string. I.e. " Hello This is a weird String "' - # command # requires_network # requires_wallet @@ -94,6 +93,7 @@ register_command('payto', 5, 5, True, True, True, 'Create and register_command('paytomany', 4, 4, True, True, True, 'Create and broadcast a transaction.', paytomany_syntax, payto_options) register_command('password', 0, 0, False, True, True, 'Change your password') register_command('restore', 0, 0, True, True, False, 'Restore a wallet', '', restore_options) +register_command('searchcontacts', 1, 1, False, True, False, 'Search through contacts, return matching entries', 'searchcontacts ') register_command('setconfig', 2, 2, False, False, False, 'Set a configuration variable', 'setconfig ') register_command('setlabel', 2,-1, False, True, False, 'Assign a label to an item', 'setlabel