summaryrefslogtreecommitdiffstats
path: root/man/go-version.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:31:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:31:31 +0000
commitaf06fce89246dcb464e3431830a5f8e2b24d9e91 (patch)
tree4cbf5a02dba5a6a26c656e7ba839ccd91bc392c1 /man/go-version.1
parentInitial commit. (diff)
downloadgolang-defaults-af06fce89246dcb464e3431830a5f8e2b24d9e91.tar.xz
golang-defaults-af06fce89246dcb464e3431830a5f8e2b24d9e91.zip
Adding upstream version 2:1.20~2.upstream/2%1.20_2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/go-version.1')
-rw-r--r--man/go-version.134
1 files changed, 34 insertions, 0 deletions
diff --git a/man/go-version.1 b/man/go-version.1
new file mode 100644
index 0000000..81b0c56
--- /dev/null
+++ b/man/go-version.1
@@ -0,0 +1,34 @@
+.\" Hey, EMACS: -*- nroff -*-
+.TH GO-VERSION 1 "2021-09-06"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+go-version \- print the build information for Go executables
+.SH SYNOPSIS
+.B go version
+.RB [ \-m ]
+.RB [ \-v ]
+.RI [ "file ..." ]
+.SH DESCRIPTION
+Go version reports the Go version used to build each of the named
+executable files.
+.P
+If no files are named on the command line, go version prints its own
+version information.
+.P
+If a directory is named, go version walks that directory, recursively,
+looking for recognized Go binaries and reporting their versions.
+By default, go version does not report unrecognized files found
+during a directory scan. The \-v flag causes it to report unrecognized files.
+.P
+The \-m flag causes go version to print each executable's embedded
+module version information, when available. In the output, the module
+information consists of multiple lines following the version line, each
+indented by a leading tab character.
+.SH SEE ALSO
+go doc runtime/debug.BuildInfo.
+.SH AUTHOR
+This manual page was written by Michael Stapelberg <stapelberg@debian.org>
+and is maintained by the
+Debian Go Compiler Team <team+go-compiler@tracker.debian.org>
+based on the output of 'go help version'
+for the Debian project (and may be used by others).