summaryrefslogtreecommitdiff
path: root/cmd/api/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/api/flags.go')
-rw-r--r--cmd/api/flags.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/api/flags.go b/cmd/api/flags.go
index b4910fa..9cdf9ec 100644
--- a/cmd/api/flags.go
+++ b/cmd/api/flags.go
@@ -4,6 +4,7 @@ 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")