diff --git a/pkg/options/network/create.go b/pkg/options/network/create.go index d46bcb26a..e33ced52e 100644 --- a/pkg/options/network/create.go +++ b/pkg/options/network/create.go @@ -84,7 +84,7 @@ func BuildNetworkCommandWithOptions() (*cobra.Command, *NetworkUserOptions) { flags.StringVar( &options.TemplateDir, "template-dir", - options.TemplateDir, + defaultTemplateDir, "Use a specific template directory, overriding the OCM_TEMPLATE_DIR environment variable.", ) flags.StringArrayVar(