From 87384801dce4ddb70a43aaf4b2f4eea549a7e047 Mon Sep 17 00:00:00 2001 From: Than McIntosh Date: Wed, 3 Aug 2022 14:59:58 -0400 Subject: [PATCH] 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 TryBot-Result: Gopher Robot Run-TryBot: Than McIntosh --- src/cmd/asm/doc.go | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.0