fix(cmd): adapt default output
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2023-07-26 10:37:56 +02:00
parent cadf25b089
commit f7c1664197
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -43,7 +43,7 @@ dcmerge docker-compose.yml https://git.example.local/user/repo/docker-compose.ym
Version: version,
}
rootCmd.Flags().BoolP("last-win", "l", false, "Overwrite existing attributes")
rootCmd.Flags().BoolP("output-file", "o", false, "Write instead on stdout into a file")
rootCmd.Flags().StringP("output-file", "o", "", "Write instead on stdout into a file")
rootCmd.AddCommand(completionCmd)
return rootCmd.Execute()