diff options
| author | Than McIntosh <thanm@google.com> | 2022-08-03 14:59:58 -0400 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2022-08-03 19:25:54 +0000 |
| commit | 87384801dce4ddb70a43aaf4b2f4eea549a7e047 (patch) | |
| tree | b841f77773e7e9bbe19654f5983b4573328a21e7 /src/cmd | |
| parent | c6a2dada0df8c2d75cf3ae599d7caed77d416fa2 (diff) | |
| download | go-87384801dce4ddb70a43aaf4b2f4eea549a7e047.tar.xz | |
cmd/asm: update package doc to describe "-p" option
Include a description of the assembler's "-p" command line option
in the package doc.
Fixes #54215.
Change-Id: I641abad573c37aa9447af6e8b84716093c2a2b70
Reviewed-on: https://go-review.googlesource.com/c/go/+/420900
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/asm/doc.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/asm/doc.go b/src/cmd/asm/doc.go index 098f063909..bb9166b8da 100644 --- a/src/cmd/asm/doc.go +++ b/src/cmd/asm/doc.go @@ -37,6 +37,8 @@ Flags: Write symbol ABI information to output file. Don't assemble. -o file Write output to file. The default is foo.o for /a/b/c/foo.s. + -p pkgpath + Set expected package import to pkgpath. -shared Generate code that can be linked into a shared library. -spectre list |
