]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/asm: update package doc to describe "-p" option
authorThan McIntosh <thanm@google.com>
Wed, 3 Aug 2022 18:59:58 +0000 (14:59 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 3 Aug 2022 19:25:54 +0000 (19:25 +0000)
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>

src/cmd/asm/doc.go

index 098f06390901db780581932dda08da9c209e7b42..bb9166b8da981d497d6ba90ffc3b8f95affcdca1 100644 (file)
@@ -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