mpp: fix long options

The correct way to specify long options is as separate arguments,
not as one argument separated by comma.
This commit is contained in:
Christian Kellner 2021-10-25 13:18:17 +00:00
parent 611b6846e8
commit c42c19356c

View file

@ -909,7 +909,7 @@ def main():
help="Path to DNF cache-directory to use",
)
parser.add_argument(
"-I,--import-dir",
"-I", "--import-dir",
dest="searchdirs",
default=[],
action="append",
@ -922,7 +922,7 @@ def main():
help="Sort keys in generated json",
)
parser.add_argument(
"-D,--define",
"-D", "--define",
default=[],
dest="vars",
action='append',