1
0

getpubkeys command

This commit is contained in:
ThomasV
2013-10-03 13:31:59 +02:00
parent 2f66cdf908
commit 6f2471b69b
4 changed files with 29 additions and 20 deletions

View File

@@ -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: