cmd/link: document that -s implies -w

The Go 1.22 release notes state that -s implies -w; however, the documentation makes no such reference. This updates the documentation to better match the release notes.

The Go 1.22 release notes can be found at https://tip.golang.org/doc/go1.22#linker

Fixes #71051
This commit is contained in:
willboland 2024-12-28 20:26:46 -05:00
parent 2b794ed86c
commit a3e462c416
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ Flags:
Link with race detection libraries.
-s
Omit the symbol table and debug information.
Implies the -w flag, which can be negated with -w=0.
-tmpdir dir
Write temporary files to dir.
Temporary files are only used in external linking mode.