Skip to contentSkip to conversation

binman: btool: mkimage: fix Bintoolmkimage.run() method docstring

PATCH In review Quentin Schulz 3 participants 3 messages Oct 29, 2025 – Nov 1, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 binman: btool: mkimage: fix Bintoolmkimage.run() method docstring

From: Quentin Schulz <[email protected]>

Commit 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version") removed the version argument from the run method but forgot to remove it from the method docstring, so let's fix this oversight.

Fixes 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version")
---
 tools/binman/btool/mkimage.py | 1 -
 1 file changed, 1 deletion(-)
tools/binman/btool/mkimage.py +0 -1
index 3f84220fb1a..23c0a8e490d 100644
@@ -35,7 +35,6 @@ class Bintoolmkimage(bintool.Bintool):
                 signatures
             align: Bytes to use for alignment of the FIT and its external data
             keys_dir: Path to directory containing private and encryption keys
-            version: True to get the mkimage version
         """
         args = []
         if external:

---
base-commit: 4cad9faf8d2887b8851f0ced5194ffbaa92ca71e
change-id: 20251029-btool-mkimage-docstring-998b6322e5a6

Best regards,

Signature · 1 line
Quentin Schulz <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Quentin Schulz

From: Quentin Schulz <[email protected]>

Commit 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version") removed the version argument from the run method but forgot to remove it from the method docstring, so let's fix this oversight.

Quoted 5 lines
Fixes 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version")
---
 tools/binman/btool/mkimage.py | 1 -
 1 file changed, 1 deletion(-)
Reviewed-by on v1 1/1
#2 lore raw
In reply to Quentin Schulz
Quoted 8 lines · Quentin Schulz

From: Quentin Schulz <[email protected]>

Commit 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version") removed the version argument from the run method but forgot to remove it from the method docstring, so let's fix this oversight.

Fixes 65e2c14d5a5a ("binman: btool: mkimage: use Bintool.version")

Thanks,
- Kever

Quoted 22 lines
---
  tools/binman/btool/mkimage.py | 1 -
  1 file changed, 1 deletion(-)
tools/binman/btool/mkimage.py +0 -2
index 3f84220fb1a..23c0a8e490d 100644
@@ -35,7 +35,6 @@ class Bintoolmkimage(bintool.Bintool):
                  signatures
              align: Bytes to use for alignment of the FIT and its external data
              keys_dir: Path to directory containing private and encryption keys
-            version: True to get the mkimage version
          """
          args = []
          if external:
 
---

base-commit: 4cad9faf8d2887b8851f0ced5194ffbaa92ca71e
change-id: 20251029-btool-mkimage-docstring-998b6322e5a6

Best regards,