subsystems

This commit is contained in:
Marc Beninca 2021-10-10 03:52:31 +02:00 committed by Marc Beninca
parent 121441077a
commit 0eafef2c35
3 changed files with 6 additions and 4 deletions

View file

@ -1,6 +1,7 @@
import argparse
import os
import msys
import remote
ACTION = 'action'
@ -51,7 +52,7 @@ msys remote repository's location
list of architectures to sync
''')
sync.add_argument(f'-{SUBSYSTEMS[0]}', f'--{SUBSYSTEMS}', type=str,
nargs='+', choices=remote.SUBSYSTEMS, help='''\
nargs='+', choices=msys.SUBSYSTEMS, help='''\
list of subsystems to sync
''')
@ -61,7 +62,7 @@ list of subsystems to sync
directory containing modifications applying to filesystem
''')
build.add_argument(f'-{COMPRESSION[0]}', f'--{COMPRESSION}', type=str,
choices=['7z', 'gz', 'xz', 'zst'], help='''\
choices=['gz', 'xz', 'zst'], help='''\
compression applying to archive
''')