Skip to content

Commit bdd40af

Browse files
jpluscplusmmvdan
authored andcommitted
cmd/cue: help mod edit: fix copy/paste error
This updates the help text emitted by "cue help mod edit" and replaces some prose left in place from copying Go's equivalent help text. Fixes #3401. Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I0d1b2859e00aacf69de30ad828706736bf763c5e Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201449 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
1 parent 818f8bf commit bdd40af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/cue/cmd/modedit.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ The -require=path@version and -drop-require=path@majorversion flags add
4343
and drop a requirement on the given module path and version. Note that
4444
-require overrides any existing requirements on path. These flags are
4545
mainly for tools that understand the module graph. Users should prefer
46-
'cue get path@version' which makes other go.mod adjustments as needed
47-
to satisfy constraints imposed by other modules.
46+
'cue mod get path@version' which makes other cue.mod adjustments as
47+
needed to satisfy constraints imposed by other modules.
4848
4949
The --module flag changes the module's path (the module.cue file's module field).
5050
The --source flag changes the module's declared source.

0 commit comments

Comments
 (0)