diff --git a/cmd/cue/cmd/modedit.go b/cmd/cue/cmd/modedit.go index 20a8231c35a..2a86d5a9f68 100644 --- a/cmd/cue/cmd/modedit.go +++ b/cmd/cue/cmd/modedit.go @@ -43,8 +43,8 @@ The -require=path@version and -drop-require=path@majorversion flags add and drop a requirement on the given module path and version. Note that -require overrides any existing requirements on path. These flags are mainly for tools that understand the module graph. Users should prefer -'cue get path@version' which makes other go.mod adjustments as needed -to satisfy constraints imposed by other modules. +'cue mod get path@version' which makes other cue.mod adjustments as +needed to satisfy constraints imposed by other modules. The --module flag changes the module's path (the module.cue file's module field). The --source flag changes the module's declared source.