1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

import: fix --omit-disable flag, its a boolean

This commit is contained in:
Hans-Christoph Steiner 2020-05-13 15:00:38 +02:00
parent ba854ab24a
commit 30f2d62597

View File

@ -73,7 +73,7 @@ def main():
help=_("Comma separated list of categories."))
parser.add_argument("-l", "--license", default=None,
help=_("Overall license of the project."))
parser.add_argument("--omit-disable", default=False,
parser.add_argument("--omit-disable", action="store_true", default=False,
help=_("Do not add 'disable:' to the generated build entries"))
parser.add_argument("--rev", default=None,
help=_("Allows a different revision (or git branch) to be specified for the initial import"))