Browse Source

Added information that leveldb is a possible flag for database type.

Gwyneth Llewelyn 6 years ago
parent
commit
3802c5d082
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gosl.go

+ 1 - 1
gosl.go

@@ -109,7 +109,7 @@ func main() {
 	goslConfig.isServer			= flag.Bool("server", false, "Run as server on port " + *goslConfig.myPort)
 	goslConfig.isShell			= flag.Bool("shell", false, "Run as an interactive shell")
 	goslConfig.importFilename	= flag.String("import", "name2key.csv.bz2", "Import database from W-Hat (use the csv.bz2 version)")
-	goslConfig.database 		= flag.String("database", "badger", "Database type (currently BuntDB or Badger)")
+	goslConfig.database 		= flag.String("database", "badger", "Database type (badger, buntdb, leveldb)")
 	goslConfig.noMemory 		= flag.Bool("nomemory", false, "Attempt to use only disk to save memory on Badger (important for shared webservers)")
 	
 	// Config viper, which reads in the configuration file every time it's needed.