Config.get_arguments_parser: allow to override argparse description

This commit is contained in:
Benjamin Renard 2021-11-18 21:20:53 +01:00
parent afdb1430a6
commit 366260e92a

View file

@ -542,7 +542,8 @@ class Config:
return self.options_parser
self.options_parser = argparse.ArgumentParser(
description=self.appname, **kwargs)
description=kwargs.pop('description', self.appname),
**kwargs)
self.options_parser.add_argument(
'-c',