From 3237ea410e5f9acdb6b0a53fdcb22847cd594b26 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 9 Oct 2021 14:36:12 +0200 Subject: [PATCH] arch,args --- arguments.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arguments.py b/arguments.py index fa40f7e..a56a96e 100644 --- a/arguments.py +++ b/arguments.py @@ -1,6 +1,7 @@ import argparse import os +import remote ACTION = 'action' ARCHITECTURES = 'architectures' @@ -46,7 +47,7 @@ action to perform onto msys repository msys remote repository's location ''') sync.add_argument(f'-{ARCHITECTURES[0]}', f'--{ARCHITECTURES}', type=str, - nargs='+', choices=['x86_64', 'i686'], help='''\ + nargs='+', choices=remote.ARCHITECTURES, help='''\ list of architectures to sync ''') sync.add_argument(f'-{SUBSYSTEMS[0]}', f'--{SUBSYSTEMS}', type=str,