From 9267b0ddf1ab53338610840268e3f5d2c88b42ae Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 8 Mar 2011 13:04:30 -0500 Subject: [PATCH] nm: document -S flag R=r CC=golang-dev https://golang.org/cl/4247066 --- src/cmd/nm/doc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cmd/nm/doc.go b/src/cmd/nm/doc.go index 84a91792fb..2a37dd8351 100644 --- a/src/cmd/nm/doc.go +++ b/src/cmd/nm/doc.go @@ -11,6 +11,9 @@ Nm is a version of the Plan 9 nm command. The original is documented at It prints the name list (symbol table) for programs compiled by gc as well as the Plan 9 C compiler. +This implementation adds the flag -S, which prints each symbol's size +in decimal after its address. + For reasons of disambiguation it is installed as 6nm although it also serves as an 8nm and a 5nm.