minstall: fix type annotation for add_arguments
This takes an `argparse.ArgumentParser` instance, not a namespace
This commit is contained in:
parent
f2ad5e377e
commit
5d3a60ae65
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue