Skip to content

Commit

Permalink
Fix parsing and display of backend-specific help messages
Browse files Browse the repository at this point in the history
Signed-off-by: Venu Vardhan Reddy Tekula <venu@chaoss.community>
  • Loading branch information
vchrombie committed Aug 12, 2024
1 parent 66a5a06 commit 26eb44b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions perceval/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,9 @@ class BackendCommand:

def __init__(self, *args, debug=False):
parser = self.setup_cmd_parser()

parser.parser.prog = "perceval %s" % self.BACKEND.__name__.lower()

self.parsed_args = parser.parse(*args)
self.debug = debug
self.archive_manager = None
Expand Down

0 comments on commit 26eb44b

Please sign in to comment.