buraksezer / olric

Distributed in-memory object store. It can be used as an embedded Go library and a language-independent service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

olricd panics if the CLI parameters are invalid.

buraksezer opened this issue · comments

olricd panics if the CLI parameters are invalid. In order to reproduce the problem:

$ olricd -vh
Failed to parse flags: flag provided but not defined: -vhpanic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0xe8 pc=0x101085474]

goroutine 1 [running]:
main.main()
	/Users/buraksezer/go/src/github.com/buraksezer/olric/cmd/olricd/main.go:112 +0x3f4