minstall: fix type annotation for add_arguments

This takes an `argparse.ArgumentParser` instance, not a namespace
0.58
Dylan Baker 4 years ago committed by Nirbheek Chauhan
parent 1f53a7d2fb
commit 97a755d2c0
  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