From 178255fdbb350dffa3555489af30c5c20d5a4960 Mon Sep 17 00:00:00 2001 From: angie Date: Tue, 23 Jan 2024 18:01:55 -0300 Subject: [PATCH] typos --- CHANGELOG.md | 4 ++++ src/ipl3checksum/frontends/sum.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21d54a0..5ccda94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fix some typos + ## [1.2.0] - 2024-01-11 ### Added diff --git a/src/ipl3checksum/frontends/sum.py b/src/ipl3checksum/frontends/sum.py index eca1a0f..2672e48 100644 --- a/src/ipl3checksum/frontends/sum.py +++ b/src/ipl3checksum/frontends/sum.py @@ -58,12 +58,12 @@ def processArguments(args: argparse.Namespace): exit(doSum(romBytes, kindName, update, outputPath)) def addSubparser(subparser: argparse._SubParsersAction[argparse.ArgumentParser]): - parser = subparser.add_parser("sum", help="Calculates the ipl3 checksum of a big endian ROM by detecting the CIC it uses.") + parser = subparser.add_parser("sum", help="Calculates the ipl3 checksum of a big endian ROM by detecting the CIC it uses and optionally update it.") parser.add_argument("rom_path", help="Path to a big endian ROM file", type=Path) - parser.add_argument("-k", "-c", "--kind", "--cic", help="Used this variant to calculate the checksum instead of automatically detecting which kind the ROM uses", dest="kind", metavar="KIND", choices=ipl3checksum.CICKind.validNames()) - parser.add_argument("-u", "--update", help="Updates the ROM with the calculated checksum. This option modified the input rom unless `--output` is used", action="store_true") + parser.add_argument("-k", "-c", "--kind", "--cic", help="Use this variant to calculate the checksum instead of automatically detecting which kind the ROM uses", dest="kind", metavar="KIND", choices=ipl3checksum.CICKind.validNames()) + parser.add_argument("-u", "--update", help="Updates the ROM with the calculated checksum. This option modifies the input rom unless `--output` is used", action="store_true") parser.add_argument("-o", "--output", help="Path to write the updated ROM. This option is ignored if `--update` is not used", type=Path) parser.set_defaults(func=processArguments)