From 54a2e63a60d1a0119390081e7f64f3b919f1bd20 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Fri, 23 Mar 2012 23:21:52 +0800 Subject: [PATCH] doc/reference-cmd: doc/fmt can be invoked by cmd/go but also available as independent command R=golang-dev, iant, r CC=golang-dev https://golang.org/cl/5877050 --- doc/reference-cmd.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/reference-cmd.html b/doc/reference-cmd.html index 3665e3cbaf..7fdc970626 100644 --- a/doc/reference-cmd.html +++ b/doc/reference-cmd.html @@ -47,15 +47,17 @@ and rewrites them to use newer ones. -godoc +doc      -Godoc extracts and generates documentation for Go programs. +Doc extracts and generates documentation for Go packages, it is also available as +an independent godoc command with more general options. -gofmt +fmt      -Gofmt formats Go programs. +Fmt formats Go packages, it is also available as an independent +gofmt command with more general options. @@ -67,7 +69,8 @@ and rewrites them to use newer ones. vet      -Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. +Vet examines Go source code and reports suspicious constructs, such as Printf +calls whose arguments do not align with the format string. -- 2.50.0