Commit 578bfb84 authored by Brendan Gregg's avatar Brendan Gregg Committed by GitHub

Merge pull request #326 from danobi/clean_help

Return cleanly after printing help
parents 8e8258dd 1d417178
......@@ -103,6 +103,9 @@ int main(int argc, char *argv[])
case 'c':
cmd_str = optarg;
break;
case 'h':
usage();
return 0;
default:
usage();
return 1;
......
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