diff --git a/cmd/cue/cmd/help.go b/cmd/cue/cmd/help.go index 5c5a5e530..c71b2c14a 100644 --- a/cmd/cue/cmd/help.go +++ b/cmd/cue/cmd/help.go @@ -312,9 +312,6 @@ If an environment variable is unset or empty, sensible default setting is used. CUE_EXPERIMENT Comma-separated list of experiment flags to enable or disable: - modules (default true) - Enable support for the Modules and package management proposal - as described in https://cuelang.org/discussion/2939. evalv3 Enable the new CUE evaluator, addressing performance issues and bringing a better disjunction algorithm. diff --git a/cue/load/config.go b/cue/load/config.go index ea8e2a993..af7a8fe8d 100644 --- a/cue/load/config.go +++ b/cue/load/config.go @@ -288,11 +288,9 @@ type Config struct { // Registry is used to fetch CUE module dependencies. // - // When nil, if the modules experiment is enabled - // (CUE_EXPERIMENT=modules), [modconfig.NewRegistry] - // will be used to create a registry instance using the - // usual cmd/cue conventions for environment variables - // (but see the Env field below). + // When nil, [modconfig.NewRegistry] will be used to create a + // registry instance using the usual cmd/cue conventions for + // environment variables (but see the Env field below). // // THIS IS EXPERIMENTAL. API MIGHT CHANGE. Registry modconfig.Registry