Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AngheloAlf committed Jan 23, 2024
1 parent 96967a9 commit 178255f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/ipl3checksum/frontends/sum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 178255f

Please sign in to comment.