Skip to content

Commit

Permalink
change help
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Jul 11, 2019
1 parent 6345063 commit 65199cb
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,19 @@ public function parseOptions()
protected function showHelp()
{
echo <<<HELP
usage: xhprof2flamegraph [-h, --help] [-f, --profile] [--metrics]
options:
-h, --help show help
_ __ ____ __
__ __ | |__ _ __ _ __ ___ / _| |___ \ / _|
\ \/ / | '_ \ | '_ \ | '__| / _ \ | |_ __) | | |_
> < | | | | | |_) | | | | (_) | | _| / __/ | _|
/_/\_\ |_| |_| | .__/ |_| \___/ |_| |_____| |_|
|_|
\e[33mUsage:\e[0m
\e[31m xhprof2flamegraph [-h, --help] [-f, --profile] [--metrics] \e[0m
\e[33mOptions:\e[0m
\e[36m -h, --help show help
-f, --profile file path of xhprof profile data
--metrics select target metrics (ect/ewt/ecpu/emu/epmu)
--metrics select target metrics (ect/ewt/ecpu/emu/epmu) \e[0m
HELP;
}
Expand Down

0 comments on commit 65199cb

Please sign in to comment.