File: go-fmt.1

package info (click to toggle)
golang-defaults 2:1.11~1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 168 kB
  • sloc: sh: 13; perl: 7; makefile: 5
file content (37 lines) | stat: -rw-r--r-- 990 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.\"                                      Hey, EMACS: -*- nroff -*-
.TH GO-FMT 1 "2012-06-15"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
go \- tool for managing Go source code
.SH SYNOPSIS
.B go fmt
.RB [\|\-n\|]
.RB [\|\-x\|]
.RB [
.IR packages
.RB ]
.SH DESCRIPTION
Fmt runs the command 'gofmt \-l \-w' on the packages named
by the import paths.  It prints the names of the files that are modified.
.P
For more about gofmt, see 'godoc gofmt'.
.P
For more about specifying packages, see \fBgo-packages\fP(7).
.P
To run gofmt with specific options, run gofmt itself.
.SH OPTIONS
.TP
.B \-n
The \-n flag causes tool to print the command that would be
executed but not execute it.
.TP
.B \-x
The \-x flag causes clean to print remove commands as it executes them.
.SH SEE ALSO
.BR go-doc (1),
.BR go-fix (1),
.BR go-vet (1).
.SH AUTHOR
.PP
This manual page was written by Michael Stapelberg <stapelberg@debian.org>,
for the Debian project (and may be used by others).