diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-11 06:59:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-11 07:32:14 +0300 |
commit | 8cc951d2aebe27651ba9a2b8a3ee4c59fafdb920 (patch) | |
tree | e54b6aa9d5cde2df19a08886df201a519ed66ae6 /release/scripts/modules/bl_i18n_utils/utils_cli.py | |
parent | ff6d7e907269c3e090d4234df6eb7e812c809050 (diff) |
Cleanup: trailing space
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/utils_cli.py')
-rw-r--r-- | release/scripts/modules/bl_i18n_utils/utils_cli.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/utils_cli.py b/release/scripts/modules/bl_i18n_utils/utils_cli.py index d38911c122d..76dd8a740c5 100644 --- a/release/scripts/modules/bl_i18n_utils/utils_cli.py +++ b/release/scripts/modules/bl_i18n_utils/utils_cli.py @@ -103,22 +103,22 @@ def main(): sub_parsers = parser.add_subparsers() sub_parser = sub_parsers.add_parser('update_po', help="Update a PO file from a given POT template file") - sub_parser.add_argument('--template', metavar='template.pot', required=True, + sub_parser.add_argument('--template', metavar='template.pot', required=True, help="The source pot file to use as template for the update.") sub_parser.add_argument('--dst', metavar='dst.po', required=True, help="The destination po to update.") - sub_parser.set_defaults(func=update_po) + sub_parser.set_defaults(func=update_po) sub_parser = sub_parsers.add_parser('cleanup_po', help="Cleanup a PO file (check for and fix some common errors, remove commented messages).") sub_parser.add_argument('--src', metavar='src.po', required=True, help="The source po file to clean up.") sub_parser.add_argument('--dst', metavar='dst.po', help="The destination po to write to.") - sub_parser.set_defaults(func=cleanup_po) + sub_parser.set_defaults(func=cleanup_po) sub_parser = sub_parsers.add_parser('strip_po', help="Reduce all non-essential data from given PO file (reduce its size).") sub_parser.add_argument('--src', metavar='src.po', required=True, help="The source po file to strip.") sub_parser.add_argument('--dst', metavar='dst.po', help="The destination po to write to.") - sub_parser.set_defaults(func=strip_po) + sub_parser.set_defaults(func=strip_po) sub_parser = sub_parsers.add_parser('rtl_process_po', help="Pre-process PO files for RTL languages.") @@ -128,7 +128,7 @@ def main(): sub_parser = sub_parsers.add_parser('language_menu', help="Generate the text file used by Blender to create its language menu.") - sub_parser.set_defaults(func=language_menu) + sub_parser.set_defaults(func=language_menu) args = parser.parse_args(sys.argv[1:]) |