diff --git a/cmd/cue/cmd/help.go b/cmd/cue/cmd/help.go index aaa51651a..f5c29df05 100644 --- a/cmd/cue/cmd/help.go +++ b/cmd/cue/cmd/help.go @@ -161,15 +161,6 @@ var environmentHelp = &cobra.Command{ If an environment variable is unset or empty, it uses a sensible default setting. - CUE_CONFIG_DIR - The directory where the cue command keeps configuration and - state files. This defaults to a directory for user-specific - configuration data, such as: - - "$XDG_CONFIG_HOME/cue" or "$HOME/.config/cue" on Linux - "$HOME/Library/Application Support/cue" on MacOS - "%AppData%/cue" on Windows - CUE_CACHE_DIR The directory where the cue command keeps a cache of files to be reused. This defaults to a directory for user-specific temporary @@ -179,14 +170,24 @@ setting. "$HOME/Library/Caches/cue" on MacOS "%LocalAppData%/cue" on Windows - CUE_REGISTRY + CUE_CONFIG_DIR + The directory where the cue command keeps configuration and + state files. This defaults to a directory for user-specific + configuration data, such as: - This variable specifies which registry or registries to use for - downloading and publishing modules. See "cue help registryconfig" - for details. + "$XDG_CONFIG_HOME/cue" or "$HOME/.config/cue" on Linux + "$HOME/Library/Application Support/cue" on MacOS + "%AppData%/cue" on Windows + + CUE_DEBUG + Comma-separated list of debug flags to enable. Current possible + values are: + http + Print log messages showing HTTP requests and responses + made when interacting with module registries. CUE_EXPERIMENT - Comma-separated list of experiments to enable or disable. The + Comma-separated list of experiments to enable. The list of available experiments may change arbitrarily over time. See exp.go in package cuelang.org/go/internal/cueexperiment for currently valid values. @@ -194,6 +195,12 @@ setting. Warning: This variable is provided for the development and testing of the cue commands itself. Use beyond that purpose is unsupported. + + CUE_REGISTRY + + This variable specifies which registry or registries to use for + downloading and publishing modules. See "cue help registryconfig" + for details. `, }