this repo has no description
0
fork

Configure Feed

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

cmd/cue: update mod mirror help text

This updates the cue-mod-mirror help text by:

- fixing a typo
- adding an example to clarify one branch of a multi-clause sentence
- reflowing a paragraph to reduce the text's overall line count
- slightly simplifying the language in the final reflowed sentence

Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com>
Change-Id: Idb2a59a8a9d4db85dcb23bdbab588bc2431f79f4
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1210897
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>

authored by

Jonathan Matthews and committed by
Roger Peppe
d1bf8fee 9e333c60

+6 -7
+6 -7
cmd/cue/cmd/modmirror.go
··· 37 37 This commmand ensures that a set of modules and their dependencies 38 38 are available ("mirrored") in a registry. 39 39 40 - For each module specified on the command line, it ensures that the 41 - module and all the modules in depends on 42 - are present in both the "from" registry and the "to" registry and that the 43 - contents are the same in each. If the --no-deps is specified, only 44 - the module itself but not its dependencies will be mirrored. 40 + For each module specified on the command line, it ensures that the module and 41 + all the modules it depends on are present in both the "from" registry and the 42 + "to" registry, and that the contents are the same in each. If --no-deps is 43 + specified then the module will be mirrored without its dependencies. 45 44 46 45 A module may be specified as <module>@<version>, in which case the 47 46 specified version will be mirrored. If the version is canonical (for example v1.2.3), then 48 - exactly that version will be mirrored, otherwise the latest corresponding 49 - version will be mirrored (or all corresponding versions if --all-versions 47 + exactly that version will be mirrored, otherwise (for example v1) the latest 48 + corresponding version will be mirrored (or all corresponding versions if --all-versions 50 49 is specified). 51 50 52 51 For example: