summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-04-06 14:20:12 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-04-06 14:29:32 +0200
commit727afdf344d0f3eb80167e5b8daac558eaa9a920 (patch)
tree4e7cdc602cfceb980fed0fc66f1d42996bb965d8
parent9ead0b04318345e8f2f573125e10c99f0a4b8e3c (diff)
Fix parameter order in cldr2qlocalexml.py's usage()
Callers and definition were out of sync. Change-Id: Icda26887cb64c61c7e373766f25559b0d450d112 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
-rwxr-xr-xutil/locale_database/cldr2qlocalexml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/cldr2qlocalexml.py b/util/locale_database/cldr2qlocalexml.py
index 690e6347da..c05cabf520 100755
--- a/util/locale_database/cldr2qlocalexml.py
+++ b/util/locale_database/cldr2qlocalexml.py
@@ -62,7 +62,7 @@ from cldr import CldrReader
from qlocalexml import QLocaleXmlWriter
from enumdata import language_list, script_list, country_list
-def usage(err, name, message = ''):
+def usage(name, err, message = ''):
err.write("""Usage: {} path/to/cldr/common/main [out-file.xml]
""".format(name)) # TODO: expand command-line, improve help message
if message: