django__django-13658
ManagementUtility instantiates CommandParser without passing already-computed prog argument
Verdict: the fix is stated in the issue (Tier A).
Instead, it should refer to self.prog_name. This can fixed as follows: parser = CommandParser( prog=self.prog_name, usage='%(prog)s subcommand [options] [args]', add_help=False, allow_abbrev=False)
The text states the fix: “Instead, it should refer to self.prog_name. This can fixed as follows: parser = CommandParser( prog=self.prog_name, usage='%(prog)s subcommand [options] [args]', add_hel…”
All SWE-bench Verified tasks · more django/django tasks · How the check works