1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 06:20:12 +01:00

scanner: Print all short options before long options

This is the default throughout the code base.
This commit is contained in:
Gregor Düster 2023-05-25 12:33:39 +02:00
parent 6d8c1fb885
commit fde880d780
No known key found for this signature in database
GPG Key ID: 1B4181FC97673B9D

View File

@ -784,9 +784,9 @@ 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("--refresh", "-r", action="store_true", default=False,
parser.add_argument("-r", "--refresh", action="store_true", default=False,
help=_("fetch the latest version of signatures from the web"))
parser.add_argument("--exit-code", "-e", action="store_true", default=False,
parser.add_argument("-e", "--exit-code", action="store_true", default=False,
help=_("Exit with a non-zero code if problems were found"))
metadata.add_metadata_arguments(parser)
options = parser.parse_args()