Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: spelling error #50945

Closed
jackieli-tes opened this issue Feb 1, 2022 · 2 comments
Closed

cmd/go: spelling error #50945

jackieli-tes opened this issue Feb 1, 2022 · 2 comments
Labels
Documentation FrozenDueToAge modules NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@jackieli-tes
Copy link

jackieli-tes commented Feb 1, 2022

What version of Go are you using (go version)?

$ go version
go version go1.18beta2 linux/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

run go1.18beta2 work and it shows help:

Go workspace provides access to operations on workspaces.

Note that support for workspaces is built into many other commands, not
just 'go work'.

See 'go help modules' for information about Go's module system of which
workspaces are a part.

A workspace is specified by a go.work file that specifies a set of
module directories with the "use" directive. These modules are used as
root modules by the go command for builds and related operations.  A
workspace that does not specify modules to be used cannot be used to do
builds from local modules.

go.work files are line-oriented. Each line holds a single directive,
made up of a keyword followed by aruments. For example:
...

In the last line of the above, aruments is spelled wrong

https://github.com/golang/go/blob/master/src/cmd/go/internal/workcmd/work.go#L30

What did you expect to see?

aruments should be arguments

@bcmills bcmills added Documentation NeedsFix The path to resolution is known, but the work has not been done. labels Feb 1, 2022
@bcmills bcmills added this to the Go1.18 milestone Feb 1, 2022
@bcmills bcmills self-assigned this Feb 1, 2022
@gopherbot
Copy link

Change https://golang.org/cl/382118 mentions this issue: cmd/go/internal/workcmd: fix typo in help string

@gopherbot
Copy link

Change https://golang.org/cl/382240 mentions this issue: cmd/go: fix relative-path normalization in go.work files

@bcmills bcmills added the modules label Feb 1, 2022
@rsc rsc unassigned bcmills Jun 22, 2022
@golang golang locked and limited conversation to collaborators Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge modules NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants