diff options
Diffstat (limited to 'cmd/api/flags.go')
-rw-r--r-- | cmd/api/flags.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cmd/api/flags.go b/cmd/api/flags.go index 9cdf9ec..4d967fd 100644 --- a/cmd/api/flags.go +++ b/cmd/api/flags.go @@ -3,9 +3,10 @@ package main import "flag" var ( - cluster = flag.String("cluster", "", "Master node address (ex: 192.168.1.10:5657)") - clusterID = flag.String("cluster_id", "", "Cluster id") - clusterAddr = flag.String("cluster_addr", ":5657", "Self address for cluster") - apiAddr = flag.String("api_addr", ":5656", "API address") - dbPath = flag.String("db_path", "/var/djson.db", "DB file") + // cluster = flag.String("cluster", "", "Master node address (ex: 192.168.1.10:5657)") + // clusterID = flag.String("cluster_id", "", "Cluster id") + // clusterAddr = flag.String("cluster_addr", ":5657", "Self address for cluster") + apiAddr = flag.String("api_addr", ":5656", "API address") + dbPath = flag.String("db_path", "/var/djson.db", "DB file") + logLevel = flag.String("log_level", "info", "Log level") ) |