diff options
| author | Alberto Donizetti <alb.donizetti@gmail.com> | 2017-08-10 11:35:34 +0200 |
|---|---|---|
| committer | Alberto Donizetti <alb.donizetti@gmail.com> | 2017-08-11 18:00:53 +0000 |
| commit | adc28cb1e03d4fd3e4750cdcc6215976e3e250c9 (patch) | |
| tree | 3d3b0e196687e26c8fe35bcea64120f63691e701 /src | |
| parent | a1eec645e101b26d53e7cc06b70a27d70cfac98b (diff) | |
| download | go-adc28cb1e03d4fd3e4750cdcc6215976e3e250c9.tar.xz | |
cmd/dist: add doc file to fix go doc dist
$ go tool -h says:
For more about each tool command, see 'go tool command -h'.
but it was suggested to change the suggestion to say:
see 'go doc command'
In #18313.
That would work for every tool except dist, which has no doc.go.
This change adds a doc.go file to cmd/dist.
Updates #18313
Change-Id: If67a21934b87647a69359d9c14d8de3775c587b7
Reviewed-on: https://go-review.googlesource.com/54351
Run-TryBot: Alberto Donizetti <alb.donizetti@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/dist/doc.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmd/dist/doc.go b/src/cmd/dist/doc.go new file mode 100644 index 0000000000..ec4116c0d3 --- /dev/null +++ b/src/cmd/dist/doc.go @@ -0,0 +1,19 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// dist is the bootstrapping tool for the Go distribution. +// +// Usage: +// go tool dist [command] +// +// The commands are: +// banner print installation banner +// bootstrap rebuild everything +// clean deletes all built files +// env [-p] print environment (-p: include $PATH) +// install [dir] install individual directory +// list [-json] list all supported platforms +// test [-h] run Go test(s) +// version print Go version +package main |
