]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: make consistent use of leading Tabs
authorShenghou Ma <minux@golang.org>
Sun, 8 Feb 2015 23:09:23 +0000 (18:09 -0500)
committerMinux Ma <minux@golang.org>
Fri, 13 Feb 2015 07:29:28 +0000 (07:29 +0000)
The only remaining uses of four spaces instead of a tab is
when the line is too long (e.g. type Package).

Fixes #9809

Change-Id: Ifffd3639aa9264e795686ef1879a7686f182d2e5
Reviewed-on: https://go-review.googlesource.com/4182
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/doc.go
src/cmd/go/main.go

index 5bf089df0aed36447ba29dc0d678c423b622e2c6..7c92389767d43b67884e772a593f1ca1cec96f68 100644 (file)
@@ -14,32 +14,32 @@ Usage:
 
 The commands are:
 
-    build       compile packages and dependencies
-    clean       remove object files
-    env         print Go environment information
-    fix         run go tool fix on packages
-    fmt         run gofmt on package sources
-    generate    generate Go files by processing source
-    get         download and install packages and dependencies
-    install     compile and install packages and dependencies
-    list        list packages
-    run         compile and run Go program
-    test        test packages
-    tool        run specified go tool
-    version     print Go version
-    vet         run go tool vet on packages
+       build       compile packages and dependencies
+       clean       remove object files
+       env         print Go environment information
+       fix         run go tool fix on packages
+       fmt         run gofmt on package sources
+       generate    generate Go files by processing source
+       get         download and install packages and dependencies
+       install     compile and install packages and dependencies
+       list        list packages
+       run         compile and run Go program
+       test        test packages
+       tool        run specified go tool
+       version     print Go version
+       vet         run go tool vet on packages
 
 Use "go help [command]" for more information about a command.
 
 Additional help topics:
 
-    c           calling between Go and C
-    filetype    file types
-    gopath      GOPATH environment variable
-    importpath  import path syntax
-    packages    description of package lists
-    testflag    description of testing flags
-    testfunc    description of testing functions
+       c           calling between Go and C
+       filetype    file types
+       gopath      GOPATH environment variable
+       importpath  import path syntax
+       packages    description of package lists
+       testflag    description of testing flags
+       testfunc    description of testing functions
 
 Use "go help [topic]" for more information about that topic.
 
index f3dfc8824f979cdae5d3c4ea9ebce28f70b0aa7f..bd3ac5a1e408d96a8cc5d6e78767f219b4c8a8e8 100644 (file)
@@ -180,13 +180,13 @@ Usage:
 
 The commands are:
 {{range .}}{{if .Runnable}}
-    {{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
+       {{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
 
 Use "go help [command]" for more information about a command.
 
 Additional help topics:
 {{range .}}{{if not .Runnable}}
-    {{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
+       {{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
 
 Use "go help [topic]" for more information about that topic.