summaryrefslogtreecommitdiffstats
path: root/man/go-env.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-env.1
parentInitial commit. (diff)
downloadgolang-defaults-bb19cf8d3caffee9da7155d94e474c64a90f319f.tar.xz
golang-defaults-bb19cf8d3caffee9da7155d94e474c64a90f319f.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 '')
-rw-r--r--man/go-env.141
1 files changed, 41 insertions, 0 deletions
diff --git a/man/go-env.1 b/man/go-env.1
new file mode 100644
index 0000000..746a0ab
--- /dev/null
+++ b/man/go-env.1
@@ -0,0 +1,41 @@
+.\" Hey, EMACS: -*- nroff -*-
+.TH GO-ENV 1 "2022-03-15"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+go-env \- print Go environment information
+.SH SYNOPSIS
+.B go env
+.RB [
+.IR "var ..."
+.RB ]
+.SH DESCRIPTION
+.P
+Env prints Go environment information.
+.P
+By default env prints information as a shell script
+(on Windows, a batch file). If one or more variable
+names is given as arguments, env prints the value of
+each named variable on its own line.
+.TP
+.B \-json
+prints the environment in JSON format
+instead of as a shell script.
+.TP
+.B \-u
+requires one or more arguments and unsets
+the default setting for the named environment variables,
+if one has been set with \(oqgo env -w\(cq.
+.TP
+.B \-w
+requires one or more arguments of the
+form NAME=VALUE and changes the default settings
+of the named environment variables to the given values.
+.P
+For more about environment variables, see \(oqgo help environment\(cq.
+.SH AUTHOR
+.P
+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 \(oqgo help env\(cq
+for the Debian project (and may be used by others).