diff --git a/pyinfra/config/loader.py b/pyinfra/config/loader.py index 2477add..c7335d6 100644 --- a/pyinfra/config/loader.py +++ b/pyinfra/config/loader.py @@ -137,4 +137,4 @@ def parse_settings_path(): help="Path to settings file(s) or folder(s). Must be .toml file(s) or a folder(s) containing .toml files.", nargs="+", ) - return parser.parse_args() + return parser.parse_args().settings_path