Commit 2ec53b07 authored by Rob Pike's avatar Rob Pike

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
parent 5dd74175
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment