Skip to content

Commit

Permalink
docs: updating readme with new input type
Browse files Browse the repository at this point in the history
  • Loading branch information
spiermar committed Aug 11, 2017
1 parent 2324297 commit e81dc9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Convert performance profiles to a hierarchical data structure.
Examples:
burn convert examples/out.perf
burn convert --folded examples/out.perf-folded
burn convert --type=folded examples/out.perf-folded
burn convert --html examples/out.perf
burn convert --output=flame.json examples/out.perf
burn convert --html --output=flame.html examples/out.perf
Expand All @@ -55,11 +55,11 @@ Usage:
burn convert [flags] (<input>)
Flags:
-f, --folded input is a folded stack
-h, --help help for convert
-m, --html output is a html flame graph
--output string output file
-p, --pretty json output is pretty printed
--type string input type (default "perf")
Global Flags:
--config string config file (default is $HOME/.burn.yaml)
Expand Down
1 change: 1 addition & 0 deletions cmd/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Examples:
burn convert --html examples/out.perf
burn convert --output=flame.json examples/out.perf
burn convert --html --output=flame.html examples/out.perf
perf script | burn convert --html
`,
Run: func(cmd *cobra.Command, args []string) {
file := (*os.File)(nil)
Expand Down

0 comments on commit e81dc9a

Please sign in to comment.