Skip to content

Commit

Permalink
cmd/preprofile: remove deleted -v flag and gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
And-ZJ committed Apr 21, 2024
1 parent 7f76c00 commit 8041411
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cmd/preprofile/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// Usage:
//
// go tool preprofile [-v] [-o output] -i input
// go tool preprofile [-o output] -i input
//
//

Expand All @@ -25,14 +25,14 @@ import (
)

func usage() {
fmt.Fprintf(os.Stderr, "usage: go tool preprofile [-v] [-o output] -i input\n\n")
fmt.Fprintf(os.Stderr, "usage: go tool preprofile [-o output] -i input\n\n")
flag.PrintDefaults()
os.Exit(2)
}

var (
output = flag.String("o", "", "output file path")
input = flag.String("i", "", "input pprof file path")
output = flag.String("o", "", "output file path")
input = flag.String("i", "", "input pprof file path")
)

func preprocess(profileFile string, outputFile string) error {
Expand Down

0 comments on commit 8041411

Please sign in to comment.