Browse Source

Add missing `flag.Parse()` call

pull/124/head
mutantmonkey 8 years ago
parent
commit
32b537a057
  1. 1
      linx-cleanup/cleanup.go

1
linx-cleanup/cleanup.go

@ -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)

Loading…
Cancel
Save