arch,args
This commit is contained in:
parent
7bf3676bfd
commit
3237ea410e
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import remote
|
||||||
|
|
||||||
ACTION = 'action'
|
ACTION = 'action'
|
||||||
ARCHITECTURES = 'architectures'
|
ARCHITECTURES = 'architectures'
|
||||||
|
@ -46,7 +47,7 @@ action to perform onto msys repository
|
||||||
msys remote repository's location
|
msys remote repository's location
|
||||||
''')
|
''')
|
||||||
sync.add_argument(f'-{ARCHITECTURES[0]}', f'--{ARCHITECTURES}', type=str,
|
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
|
list of architectures to sync
|
||||||
''')
|
''')
|
||||||
sync.add_argument(f'-{SUBSYSTEMS[0]}', f'--{SUBSYSTEMS}', type=str,
|
sync.add_argument(f'-{SUBSYSTEMS[0]}', f'--{SUBSYSTEMS}', type=str,
|
||||||
|
|
Loading…
Reference in a new issue