]> Cypherpunks repositories - gostls13.git/commit
cmd/nm: add -sort=size
authorRob Pike <r@golang.org>
Wed, 8 Jan 2014 23:56:40 +0000 (15:56 -0800)
committerRob Pike <r@golang.org>
Wed, 8 Jan 2014 23:56:40 +0000 (15:56 -0800)
commitfca453e062a39f64b0760aa4555bb974f504aba3
tree478465ad1f55af5baa7603551022cecd7a0d752b
parent43108ee53a62bdbafc16a1224eeed3c0e2fa71a6
cmd/nm: add -sort=size
When printing the size, we often want to sort on that key.
Because it's used when looking for large things, make the
sort go from largest to smallest.

Perfect recreation of CL 45150044, which was lost to some blunder.

R=golang-codereviews, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/48500044
src/cmd/nm/doc.go
src/cmd/nm/nm.go