~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/cmd/go/vet.go

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý, Ondřej Surý, Michael Stapelberg
  • Date: 2012-06-28 12:14:15 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120628121415-w1b0076ixkarr1ml
[ Ondřej Surý ]
* Imported Upstream version 1.0.2
* Update Vcs fields to reflect new git repository location
* Kill get-orig-source, since 1.0.0, the tarballs can be downloaded
  from webpage

[ Michael Stapelberg ]
* golang-mode: use debian-pkg-add-load-path-item (Closes: #664802)
* Add manpages (Closes: #632964)
* Use updated pt.po from Pedro Ribeiro (Closes: #674958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
package main
6
6
 
 
7
func init() {
 
8
        addBuildFlagsNX(cmdVet)
 
9
}
 
10
 
7
11
var cmdVet = &Command{
8
12
        Run:       runVet,
9
 
        UsageLine: "vet [packages]",
 
13
        UsageLine: "vet [-n] [-x] [packages]",
10
14
        Short:     "run go tool vet on packages",
11
15
        Long: `
12
16
Vet runs the Go vet command on the packages named by the import paths.
16
20
 
17
21
To run the vet tool with specific options, run 'go tool vet'.
18
22
 
 
23
The -n flag prints commands that would be executed.
 
24
The -x flag prints commands as they are executed.
 
25
 
19
26
See also: go fmt, go fix.
20
27
        `,
21
28
}