diff --git a/jc/cli.py b/jc/cli.py index 4c4036f5..e6eefa3b 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -233,10 +233,10 @@ class JcCli(): 'license': info.license, 'python_version': '.'.join((str(sys.version_info.major), str(sys.version_info.minor), str(sys.version_info.micro))), 'python_path': sys.executable, - 'parser_count': len(parser_mod_list()), - 'standard_parser_count': len(standard_parser_mod_list()), - 'streaming_parser_count': len(streaming_parser_mod_list()), - 'plugin_parser_count': len(plugin_parser_mod_list()), + 'parser_count': len(parser_mod_list(show_hidden=True, show_deprecated=True)), + 'standard_parser_count': len(standard_parser_mod_list(show_hidden=True, show_deprecated=True)), + 'streaming_parser_count': len(streaming_parser_mod_list(show_hidden=True, show_deprecated=True)), + 'plugin_parser_count': len(plugin_parser_mod_list(show_hidden=True, show_deprecated=True)), 'parsers': all_parser_info(show_hidden=True, show_deprecated=True) } diff --git a/jc/lib.py b/jc/lib.py index 2a7e8993..35ad6a76 100644 --- a/jc/lib.py +++ b/jc/lib.py @@ -388,8 +388,8 @@ def parse( return jc_parser.parse(data, quiet=quiet, raw=raw, **kwargs) def parser_mod_list( - show_hidden: bool = True, - show_deprecated: bool = True + show_hidden: bool = False, + show_deprecated: bool = False ) -> List[str]: """Returns a list of all available parser module names.""" plist: List[str] = [] @@ -407,8 +407,8 @@ def parser_mod_list( return plist def plugin_parser_mod_list( - show_hidden: bool = True, - show_deprecated: bool = True + show_hidden: bool = False, + show_deprecated: bool = False ) -> List[str]: """ Returns a list of plugin parser module names. This function is a @@ -429,8 +429,8 @@ def plugin_parser_mod_list( return plist def standard_parser_mod_list( - show_hidden: bool = True, - show_deprecated: bool = True + show_hidden: bool = False, + show_deprecated: bool = False ) -> List[str]: """ Returns a list of standard parser module names. This function is a @@ -454,8 +454,8 @@ def standard_parser_mod_list( return plist def streaming_parser_mod_list( - show_hidden: bool = True, - show_deprecated: bool = True + show_hidden: bool = False, + show_deprecated: bool = False ) -> List[str]: """ Returns a list of streaming parser module names. This function is a