diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-04-06 14:20:12 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-04-06 14:29:32 +0200 |
commit | 727afdf344d0f3eb80167e5b8daac558eaa9a920 (patch) | |
tree | 4e7cdc602cfceb980fed0fc66f1d42996bb965d8 /util/locale_database | |
parent | 9ead0b04318345e8f2f573125e10c99f0a4b8e3c (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>
Diffstat (limited to 'util/locale_database')
-rwxr-xr-x | util/locale_database/cldr2qlocalexml.py | 2 |
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: |