aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2022-08-03 14:59:58 -0400
committerThan McIntosh <thanm@google.com>2022-08-03 19:25:54 +0000
commit87384801dce4ddb70a43aaf4b2f4eea549a7e047 (patch)
treeb841f77773e7e9bbe19654f5983b4573328a21e7
parentc6a2dada0df8c2d75cf3ae599d7caed77d416fa2 (diff)
downloadgo-87384801dce4ddb70a43aaf4b2f4eea549a7e047.tar.gz
go-87384801dce4ddb70a43aaf4b2f4eea549a7e047.zip
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>
-rw-r--r--src/cmd/asm/doc.go2
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