Rename install_cli to add_options

This commit is contained in:
James R. Barlow
2020-05-06 01:10:09 -07:00
parent dd361ecd05
commit 39888ae8c9
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ def ocr( # pylint: disable=unused-argument
parser = get_parser()
_plugin_manager = get_plugin_manager(plugins)
_plugin_manager.hook.install_cli(parser=parser)
_plugin_manager.hook.add_options(parser=parser)
options = create_options(
**{k: v for k, v in locals().items() if not k.startswith('_')}