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:
parent
0b3b65fe4e
commit
d2dc3b8c1b
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue