diff --git a/CHANGELOG.md b/CHANGELOG.md index 194c7a36..6ce88c07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Verbose mode will now show resolved options + ### Fixed - Fixed CLI overrides not applying on top of a resolved `stylua.toml` file ([#925](https://github.com/JohnnyMorganz/StyLua/issues/925)) diff --git a/src/cli/main.rs b/src/cli/main.rs index 48f1a0e1..10d7e973 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -253,6 +253,8 @@ fn path_is_stylua_ignored(path: &Path, search_parent_directories: bool) -> Resul } fn format(opt: opt::Opt) -> Result { + debug!("resolved options: {:#?}", opt); + if opt.files.is_empty() { bail!("no files provided"); }