Add missing `flag.Parse()` call

This commit is contained in:
mutantmonkey 2017-05-03 21:12:41 -07:00
parent c6f62fccdf
commit 32b537a057
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ func main() {
"path to metadata directory") "path to metadata directory")
flag.BoolVar(&noLogs, "nologs", false, flag.BoolVar(&noLogs, "nologs", false,
"don't log deleted files") "don't log deleted files")
flag.Parse()
metaStorageBackend := localfs.NewLocalfsBackend(metaDir) metaStorageBackend := localfs.NewLocalfsBackend(metaDir)
metaBackend := metajson.NewMetaJSONBackend(metaStorageBackend) metaBackend := metajson.NewMetaJSONBackend(metaStorageBackend)