From cece1b2ae4d6418756a81e51fef2ef6e206b8eee Mon Sep 17 00:00:00 2001
From: juk0de <5322305+juk0de@users.noreply.github.com>
Date: Sat, 20 Jul 2024 23:02:25 +0200
Subject: [PATCH] mtf2json: replaced '--mml-commit' with '--mm-commit' (MegaMek
 repo)

---
 mtf2json/__init__.py  |  2 +-
 mtf2json/cli.py       | 10 +++++-----
 mtf2json/mtf2json.py  |  2 +-
 mtf2json/mtf2json.pyi |  2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/mtf2json/__init__.py b/mtf2json/__init__.py
index 4926ef1..34a809f 100644
--- a/mtf2json/__init__.py
+++ b/mtf2json/__init__.py
@@ -1,2 +1,2 @@
 # this enables direct import from 'mtf2json' (instead of 'mtf2json.mtf2json')
-from .mtf2json import read_mtf, write_json, ConversionError, version, mml_commit  # noqa
+from .mtf2json import read_mtf, write_json, ConversionError, version, mm_commit  # noqa
diff --git a/mtf2json/cli.py b/mtf2json/cli.py
index 8fbb747..a65ad0d 100644
--- a/mtf2json/cli.py
+++ b/mtf2json/cli.py
@@ -4,7 +4,7 @@
 import argparse
 from pathlib import Path
 import os
-from .mtf2json import read_mtf, write_json, ConversionError, version, mml_commit
+from .mtf2json import read_mtf, write_json, ConversionError, version, mm_commit
 from typing import Optional, List, Tuple
 
 
@@ -28,9 +28,9 @@ def create_parser() -> argparse.ArgumentParser:
     parser.add_argument('--version', '-V',
                         action='store_true',
                         help="Print version")
-    parser.add_argument('--mml-commit', '-C',
+    parser.add_argument('--mm-commit', '-C',
                         action='store_true',
-                        help="Print latest supported MegaMekLab commit")
+                        help="Print latest supported MegaMek commit")
     parser.add_argument('--mtf-dir', '-M',
                         type=str,
                         help="Convert all MTF files in the given directory.",
@@ -114,8 +114,8 @@ def main() -> None:
     if args.version:
         print(f"{version}")
         sys.exit(0)
-    if args.mml_commit:
-        print(f"{mml_commit}")
+    if args.mm_commit:
+        print(f"{mm_commit}")
         sys.exit(0)
 
     # either file conversion or directory conversion is allowed, but not both simultaneously
diff --git a/mtf2json/mtf2json.py b/mtf2json/mtf2json.py
index 75ca7fe..f281fbc 100755
--- a/mtf2json/mtf2json.py
+++ b/mtf2json/mtf2json.py
@@ -11,7 +11,7 @@
 
 
 version = "0.1.6"
-mml_commit = "1ceb93b3ad182d54e16578718322847111d3d8a4"
+mm_commit = "0c9645e76d643bc1680ec81c632fce8ddd07e228"
 
 
 class ConversionError(Exception):
diff --git a/mtf2json/mtf2json.pyi b/mtf2json/mtf2json.pyi
index c3053ee..52a467c 100644
--- a/mtf2json/mtf2json.pyi
+++ b/mtf2json/mtf2json.pyi
@@ -3,7 +3,7 @@ from typing import Dict, Any
 
 
 version: str
-mml_commit: str
+mm_commit: str
 
 
 class ConversionError(Exception):