mirror of
https://github.com/golang/go
synced 2024-11-23 18:20: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:
parent
5dd74175d4
commit
2ec53b0705
@ -17,7 +17,7 @@ This implementation adds the flag -S, which prints each symbol's size
|
||||
in decimal after its address.
|
||||
|
||||
Usage:
|
||||
go tool nm [-aghnsTu] file
|
||||
go tool nm [-aghnsSTu] file
|
||||
|
||||
*/
|
||||
package main
|
||||
|
@ -72,7 +72,7 @@ void zenter(Sym*);
|
||||
void
|
||||
usage(void)
|
||||
{
|
||||
fprint(2, "usage: nm [-aghnsTu] file ...\n");
|
||||
fprint(2, "usage: nm [-aghnsSTu] file ...\n");
|
||||
exits("usage");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user