Skip to content

Commit

Permalink
contrib: Add script name to usage error in gen_wcwidth.py
Browse files Browse the repository at this point in the history
contrib/ChangeLog:

	* unicode/gen_wcwidth.py: Add sys.argv[0] to usage error.
  • Loading branch information
jwakely committed Jan 5, 2024
1 parent 03c7df9 commit 1bc9edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/unicode/gen_wcwidth.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import os

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)
unicode_version = sys.argv[1]

Expand Down

0 comments on commit 1bc9edd

Please sign in to comment.