Skip to content
Snippets Groups Projects
Commit 1bc9eddb authored by Jonathan Wakely's avatar Jonathan Wakely
Browse files

contrib: Add script name to usage error in gen_wcwidth.py

contrib/ChangeLog:

	* unicode/gen_wcwidth.py: Add sys.argv[0] to usage error.
parent 03c7df97
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ import sys ...@@ -22,7 +22,7 @@ import sys
import os import os
if len(sys.argv) != 2: if len(sys.argv) != 2:
print("usage: %s <unicode version>", file=sys.stderr) print("usage: %s <unicode version>" % sys.argv[0], file=sys.stderr)
sys.exit(1) sys.exit(1)
unicode_version = sys.argv[1] unicode_version = sys.argv[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment