Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't print usage on error #420

Closed
alk opened this issue Aug 23, 2015 · 3 comments
Closed

Don't print usage on error #420

alk opened this issue Aug 23, 2015 · 3 comments

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 417

Usage shouldn't be printed on error

$ pprof
Did not specify program

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

Reported by olafvdspek on 2012-03-16 14:55:13

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Sounds to me like pprof isn't exitting properly after printing usage information.

Reported by chappedm on 2012-05-03 14:53:53

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Reported by chappedm on 2012-05-04 17:53:51

  • Status changed: Accepted
  • Labels added: Priority-Low
  • Labels removed: Priority-Medium

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

------------------------------------------------------------------------
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.
------------------------------------------------------------------------

Reported by chappedm on 2012-10-28 19:34:46

  • Status changed: Fixed

@alk alk closed this as completed Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant