This commit is contained in:
Johannes Bauer 2016-09-24 20:14:53 +02:00
parent 58a73a552f
commit 9c3670db9b
2 changed files with 12 additions and 7 deletions

9
.gitignore vendored
View File

@ -2,5 +2,10 @@
*.o *.o
luksrku luksrku
luksrku-config luksrku-config
openssl-1.1.0.tar.gz openssl-1.1.0a.tar.gz
openssl-1.1.0 openssl-1.1.0a
client.bin
client.txt
server.bin
server.txt

View File

@ -65,13 +65,13 @@ hpp.add([ "--max-bcast-errs=CNT" ], "This is the number of UDP broadcast attempt
hpp.add([ "-v", "--verbose" ], "Increase logging verbosity.") hpp.add([ "-v", "--verbose" ], "Increase logging verbosity.")
for (index, line) in enumerate(hpp.format_params()): for (index, line) in enumerate(hpp.format_params()):
if index == 0: if index == 0:
print("fprintf(stderr, \"%%s%s\\n\", pgmname);" % (line)) print(" fprintf(stderr, \"%%s%s\\n\", pgmname);" % (line))
else: else:
print("fprintf(stderr, \" %s\\n\");" % (line)) print(" fprintf(stderr, \" %s\\n\");" % (line))
print("fprintf(stderr, \"\\n\");") print(" fprintf(stderr, \"\\n\");")
for line in hpp.format_help(): for line in hpp.format_help():
print("fprintf(stderr, \" %s\\n\");" % (line)) print(" fprintf(stderr, \" %s\\n\");" % (line))
print("fprintf(stderr, \"\\n\");") print(" fprintf(stderr, \"\\n\");")
#examples = [ #examples = [