minstall: fix type annotation for add_arguments

This takes an `argparse.ArgumentParser` instance, not a namespace
This commit is contained in:
Dylan Baker 2021-06-14 15:36:16 -07:00
parent f2ad5e377e
commit 5d3a60ae65
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ build definitions so that it will not break when the change happens.'''
selinux_updates: T.List[str] = []
def add_arguments(parser: argparse.Namespace) -> None:
def add_arguments(parser: argparse.ArgumentParser) -> None:
parser.add_argument('-C', default='.', dest='wd',
help='directory to cd into before running')
parser.add_argument('--profile-self', action='store_true', dest='profile',