summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/commandfuncs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go
index 422b63a..0fd7786 100644
--- a/cmd/commandfuncs.go
+++ b/cmd/commandfuncs.go
@@ -431,6 +431,7 @@ func cmdAdaptConfig(fl Flags) (int, error) {
if adaptCmdPrettyFlag {
opts["pretty"] = "true"
}
+ opts["filename"] = adaptCmdInputFlag
adaptedConfig, warnings, err := cfgAdapter.Adapt(input, opts)
if err != nil {