diff --git a/contrib/unicode/gen_wcwidth.py b/contrib/unicode/gen_wcwidth.py index 02b28bcedcfd0..aa8d8b2cfd249 100755 --- a/contrib/unicode/gen_wcwidth.py +++ b/contrib/unicode/gen_wcwidth.py @@ -22,7 +22,7 @@ import os if len(sys.argv) != 2: - print("usage: %s ", file=sys.stderr) + print("usage: %s " % sys.argv[0], file=sys.stderr) sys.exit(1) unicode_version = sys.argv[1]