diff --git a/VERSION b/VERSION index 5aa6e51..1c225c9 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.5.6-develop10 +4.5.6-develop11 diff --git a/qbit_manage.py b/qbit_manage.py index 0950698..d0d3d16 100755 --- a/qbit_manage.py +++ b/qbit_manage.py @@ -118,7 +118,7 @@ parser.add_argument( default=None, type=str, help=( - "This is used to specify a custom configuration directory. " + "This is used to specify the configuration directory. It will treat all YAML files in this directory as valid configs." "Takes precedence over --config-file. If not specified, falls back to --config-file logic." ), ) @@ -309,7 +309,7 @@ args["config_dir"] = default_dir args["config_dir_args"] = config_dir # Use config_dir_mode if --config-dir was provided, otherwise use legacy mode -use_config_dir_mode = config_dir is not None +use_config_dir_mode = config_dir is not None and config_files config_files = get_matching_config_files(config_files, default_dir, use_config_dir_mode)