]> Cypherpunks repositories - gostls13.git/commitdiff
doc/reference-cmd: doc/fmt can be invoked by cmd/go but also available as independent...
authorShenghou Ma <minux.ma@gmail.com>
Fri, 23 Mar 2012 15:21:52 +0000 (23:21 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 23 Mar 2012 15:21:52 +0000 (23:21 +0800)
R=golang-dev, iant, r
CC=golang-dev
https://golang.org/cl/5877050

doc/reference-cmd.html

index 3665e3cbaf43daf1ce8ca7f11c4b641a7920e282..7fdc97062600f6655a13ba969d582e8491dc4367 100644 (file)
@@ -47,15 +47,17 @@ and rewrites them to use newer ones.</td>
 </tr>
 
 <tr>
-<td><a href="/cmd/godoc/">godoc</a></td>
+<td><a href="/cmd/go/">doc</a></td>
 <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
-<td>Godoc extracts and generates documentation for Go programs.</td>
+<td>Doc extracts and generates documentation for Go packages, it is also available as
+an independent <a href="/cmd/godoc/">godoc</a> command with more general options.</td>
 </tr>
 
 <tr>
-<td><a href="/cmd/gofmt/">gofmt</a></td>
+<td><a href="/cmd/go/">fmt</a></td>
 <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
-<td>Gofmt formats Go programs.</td>
+<td>Fmt formats Go packages, it is also available as an independent <a href="/cmd/gofmt/">
+gofmt</a> command with more general options.</td>
 </tr>
 
 <tr>
@@ -67,7 +69,8 @@ and rewrites them to use newer ones.</td>
 <tr>
 <td><a href="/cmd/vet/">vet</a></td>
 <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
-<td>Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.</td>
+<td>Vet examines Go source code and reports suspicious constructs, such as Printf
+calls whose arguments do not align with the format string.</td>
 </tr>
 
 <tr>