diff --git a/cmd/validate_compose.go b/cmd/validate_compose.go index d7cbd4ae..843bb53e 100644 --- a/cmd/validate_compose.go +++ b/cmd/validate_compose.go @@ -40,6 +40,6 @@ func ValidateDockerCompose(file string, ignoreErrors, ignoreMisEnvFiles bool) er func init() { validateCmd.AddCommand(validateDockerCompose) - validateDockerCompose.Flags().StringVarP(&dockerComposeFile, "docker-compose", "d", "docker-compose.yml", + validateDockerCompose.Flags().StringVarP(&dockerComposeFile, "docker-compose", "", "docker-compose.yml", "The docker-compose.yml file to read.") }