From d823f3ff8412221cacd29e3a79fff5b4a5fa9b83 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 21 Jun 2023 17:27:26 +0000 Subject: [PATCH] reccomp.py: -h/--help for help -H/--htmp for html --- tools/reccomp/reccomp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/reccomp/reccomp.py b/tools/reccomp/reccomp.py index c3deb6b1..df185473 100755 --- a/tools/reccomp/reccomp.py +++ b/tools/reccomp/reccomp.py @@ -8,15 +8,14 @@ import os import sys -parser = argparse.ArgumentParser(allow_abbrev=False, add_help=False, +parser = argparse.ArgumentParser(allow_abbrev=False, description='Compare an original EXE with a recompiled EXE + PDB.') parser.add_argument('original', metavar='original-binary', help='The original binary') parser.add_argument('recompiled', metavar='recompiled-binary', help='The recompiled binary') parser.add_argument('pdb', metavar='recompiled-pdb', help='The PDB of the recompiled binary') parser.add_argument('decomp_dir', metavar='decomp-dir', help='The decompiled source tree') parser.add_argument('--verbose', '-v', metavar='offset', help='Print assembly diff for specific function (original file\'s offset)') -parser.add_argument('--html', '-h', metavar='output-file', help='Generate searchable HTML summary of status and diffs') -parser.add_argument('--help', action='help', help='Show this help message and exit') +parser.add_argument('--html', '-H', metavar='output-file', help='Generate searchable HTML summary of status and diffs') args = parser.parse_args()