1
0
mirror of https://github.com/golang/go synced 2024-11-23 20:30:04 -07:00

cmd/nm: put the -S flag in the usage message

The -S flag reports symbol size, but is missing from the usage message.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13660046
This commit is contained in:
Rob Pike 2013-09-16 16:13:27 +10:00
parent 5dd74175d4
commit 2ec53b0705
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ This implementation adds the flag -S, which prints each symbol's size
in decimal after its address. in decimal after its address.
Usage: Usage:
go tool nm [-aghnsTu] file go tool nm [-aghnsSTu] file
*/ */
package main package main

View File

@ -72,7 +72,7 @@ void zenter(Sym*);
void void
usage(void) usage(void)
{ {
fprint(2, "usage: nm [-aghnsTu] file ...\n"); fprint(2, "usage: nm [-aghnsSTu] file ...\n");
exits("usage"); exits("usage");
} }