getpubkeys command
This commit is contained in:
4
electrum
4
electrum
@@ -320,12 +320,12 @@ if __name__ == '__main__':
|
||||
# check the number of arguments
|
||||
if len(args) - 1 < cmd.min_args:
|
||||
print_msg("Not enough arguments")
|
||||
print_msg("Syntax:", syntax)
|
||||
print_msg("Syntax:", cmd.syntax)
|
||||
sys.exit(1)
|
||||
|
||||
if cmd.max_args >= 0 and len(args) - 1 > cmd.max_args:
|
||||
print_msg("too many arguments", args)
|
||||
print_msg("Syntax:", syntax)
|
||||
print_msg("Syntax:", cmd.syntax)
|
||||
sys.exit(1)
|
||||
|
||||
if cmd.max_args < 0:
|
||||
|
||||
Reference in New Issue
Block a user