Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/zoekt-git-index/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func run() int {
deltaShardNumberFallbackThreshold := flag.Uint64("delta_threshold", 0, "upper limit on the number of preexisting shards that can exist before attempting a delta build (0 to disable fallback behavior)")
languageMap := flag.String("language_map", "", "a mapping between a language and its ctags processor (a:0,b:3).")

cpuProfile := flag.String("cpuprofile", "", "write cpu profile to `file`")
cpuProfile := flag.String("cpu_profile", "", "write cpu profile to `file`")

flag.Parse()

Expand Down
4 changes: 2 additions & 2 deletions cmd/zoekt-test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ func compare(dir, patfile string, caseSensitive bool) error {
}

var (
memprofile = flag.String("memprofile", "", "write memory profile to `file`")
cpuprofile = flag.String("cpuprofile", "", "write memory profile to `file`")
memprofile = flag.String("mem_profile", "", "write memory profile to `file`")
cpuprofile = flag.String("cpu_profile", "", "write cpu profile to `file`")
)

func testLoadIndexDir(indexDir string) {
Expand Down