fdroid build: add --refresh-scanner option

Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
linsui 2024-01-25 19:15:02 +08:00 committed by Hans-Christoph Steiner
parent fe7e4f8226
commit 6fb2e07dda
2 changed files with 3 additions and 1 deletions

View file

@ -788,7 +788,7 @@ def main():
help=_("Force scan of disabled apps and builds."))
parser.add_argument("--json", action="store_true", default=False,
help=_("Output JSON to stdout."))
parser.add_argument("-r", "--refresh", action="store_true", default=False,
parser.add_argument("-r", "--refresh", dest="refresh_scanner", action="store_true", default=False,
help=_("fetch the latest version of signatures from the web"))
parser.add_argument("-e", "--exit-code", action="store_true", default=False,
help=_("Exit with a non-zero code if problems were found"))