cuitao2046 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Don't print usage on error #417

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Usage shouldn't be printed on error

$ pprof
Did not specify program

Usage:
pprof [options] <program> <profiles>
...
...
FATAL ERROR: Did not specify program

Original issue reported on code.google.com by olafvdspek on 16 Mar 2012 at 2:55

GoogleCodeExporter commented 9 years ago
Sounds to me like pprof isn't exitting properly after printing usage 
information.

Original comment by chapp...@gmail.com on 3 May 2012 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by chapp...@gmail.com on 4 May 2012 at 5:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
------------------------------------------------------------------------
r163 | chappedm@gmail.com | 2012-10-28 15:30:23 -0400 (Sun, 28 Oct 2012) | 1 
line

issue-417: This commit removed the fatal error message printed along with the 
pprof usage information when pprof is run with no arguments.
------------------------------------------------------------------------

Original comment by chapp...@gmail.com on 28 Oct 2012 at 7:34