Skip to content

Commit

Permalink
Merge branch '799-fix/backend-parser-usage' of 'https://github.com/vc…
Browse files Browse the repository at this point in the history
  • Loading branch information
sduenas committed Aug 13, 2024
2 parents 66a5a06 + e71ac87 commit 7e48bf0
Show file tree
Hide file tree
Showing 2 changed files with 11 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Fixed missing backend name in usage string
category: fixed
author: Venu Vardhan Reddy Tekula <venu@chaoss.community>
issue: 799
notes: >
The `perceval` command-line tool now correctly displays the backend name in the usage string
when using the `--help` option.

0 comments on commit 7e48bf0

Please sign in to comment.