1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

Fix program name in bencode-dump.py --help

This commit is contained in:
Jason Rhinelander 2021-06-22 12:27:04 -03:00
parent 0b3b65fe4e
commit d2dc3b8c1b

View file

@ -4,7 +4,7 @@ import sys
import pprint
if len(sys.argv) != 2 or sys.argv[1].startswith('-'):
print("Usage: {} FILE -- dumps a bencoded file", file=sys.stderr)
print("Usage: {} FILE -- dumps a bencoded file".format(sys.argv[0]), file=sys.stderr)
sys.exit(1)
f = open(sys.argv[1], 'rb')