Skip to content

Commit

Permalink
cmd/asm: update package doc to describe "-p" option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
thanm committed Aug 3, 2022
1 parent c6a2dad commit 8738480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd/asm/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8738480

Please sign in to comment.