this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <github@hello.jonathanmatthews.com>
Change-Id: I0d1b2859e00aacf69de30ad828706736bf763c5e
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201449
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>

authored by

Jonathan Matthews and committed by
Daniel Martí
bdd40af5 818f8bf6

+2 -2
+2 -2
cmd/cue/cmd/modedit.go
··· 43 43 and drop a requirement on the given module path and version. Note that 44 44 -require overrides any existing requirements on path. These flags are 45 45 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. 48 48 49 49 The --module flag changes the module's path (the module.cue file's module field). 50 50 The --source flag changes the module's declared source.