Skip to content

Commit

Permalink
Fix decompctx.py throwing an error when used (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNathannator authored Aug 23, 2024
1 parent 0ddcd74 commit b3f2a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/decompctx.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def __init__(self):
description="Wrapper around pcpp which generates a context file usable with decomp.me, m2c, or Ghidra",
add_help=False
)
parser.add_argument("c_file", dest="c_file", nargs="?", help="File from which to create context")
parser.add_argument("c_file", nargs="?", help="File from which to create context")
parser.add_argument("-h", "-help", "--help", dest="help", action="store_true")
parser.add_argument('-D', dest='defines', metavar='macro[=val]', nargs=1, action='append', help='Predefine a macro [with the given value]')
parser.add_argument("--strip-attributes", dest="strip_attributes", action="store_true", help="Strip __attribute__(()) directives")
Expand Down

0 comments on commit b3f2a12

Please sign in to comment.