minstall: fix type annotation for add_arguments

This takes an `argparse.ArgumentParser` instance, not a namespace
pull/8884/head
Dylan Baker 3 years ago
parent f2ad5e377e
commit 5d3a60ae65
  1. 2
      mesonbuild/minstall.py

@ -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…
Cancel
Save