blob: 746a0abec3f68442521cf430437eefc912167661 (
plain)
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
38
39
40
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).
|