diff --git a/HISTORY.md b/HISTORY.md index a2663416..32b06405 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,11 @@ add upcoming unreleased modiications here +## 2.4.1 + +* Fixed + * commandline autocompletion for config files to properly suggest `*.yaml` & `*.yml` files. + ## 2.4.0 * Changes diff --git a/nichtparasoup/cli/parser.py b/nichtparasoup/cli/parser.py index 6012c2b3..4c0e2b78 100644 --- a/nichtparasoup/cli/parser.py +++ b/nichtparasoup/cli/parser.py @@ -12,7 +12,7 @@ def imagecrawler_completion(*args: Any, **kwargs: Any) -> Set[str]: return set(get_imagecrawlers().names()) -yaml_file_completion = FilesCompleter('yaml', 'yml') +yaml_file_completion = FilesCompleter(('yaml', 'yml')) def create_parser() -> ArgumentParser: # pragma: no cover