mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 03:18:43 -06:00
server: Don't crash if no flags passed
This commit is contained in:
@@ -72,7 +72,10 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
cs = flags.CreateStore()
|
||||
Chk.NotNil(cs)
|
||||
if cs == nil {
|
||||
flag.Usage()
|
||||
return
|
||||
}
|
||||
|
||||
// TODO: Shouldn't have to cast here.
|
||||
tracker = cs.(chunks.RootTracker)
|
||||
|
||||
Reference in New Issue
Block a user