From 960f6303fdea4d4aefd281bcb4fd5fda60fce39a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 9 Oct 2021 18:16:40 +0200 Subject: [PATCH] subsystems --- arguments.py | 2 +- remote.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arguments.py b/arguments.py index a56a96e..8ebc916 100644 --- a/arguments.py +++ b/arguments.py @@ -51,7 +51,7 @@ msys remote repository's location list of architectures to sync ''') sync.add_argument(f'-{SUBSYSTEMS[0]}', f'--{SUBSYSTEMS}', type=str, - nargs='+', choices=['msys', 'mingw'], help='''\ + nargs='+', choices=remote.SUBSYSTEMS, help='''\ list of subsystems to sync ''') diff --git a/remote.py b/remote.py index 6743da7..4fd2e5f 100644 --- a/remote.py +++ b/remote.py @@ -10,6 +10,7 @@ ARCHITECTURES = ['x86_64', 'i686'] CHARSET = 'u8' DISTRIBUTION = 'distrib' SIGNATURE = '.sig' +SUBSYSTEMS = ['msys', 'mingw'] class Remote: