Skip to content
Snippets Groups Projects
Unverified Commit eb1a1b6b authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

reproducible: common: turn the distro positional arg into a --distro flag


having it a positional argument clashes with the remote_scheduler.py
arg parsing as it understands the first scheduler argument as the distro
positional arg.

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent f72eb147
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ CONFIG = os.path.join(__location__, 'reproducible.ini')
## command line option parsing
parser = argparse.ArgumentParser()
group = parser.add_mutually_exclusive_group()
parser.add_argument('distro', help='name of the distribution to work on',
parser.add_argument('--distro', help='name of the distribution to work on',
default='debian', nargs='?')
group.add_argument("-d", "--debug", action="store_true")
group.add_argument("-q", "--quiet", action="store_true")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment