Skip to content

Commit

Permalink
further flag description improvement #2
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkowalczuk committed Aug 23, 2018
1 parent d4bc01b commit 5f3f474
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/mnemosyned/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ func (c *configuration) init() {

flag.StringVar(&c.host, "host", "127.0.0.1", "Host")
flag.IntVar(&c.port, "port", 8080, "Port")
flag.BoolVar(&c.grpc.debug, "grpc.debug", false, "If true, enables very verbose grpc debug mode. Useful to track connectivity issues.")
flag.BoolVar(&c.grpc.debug, "grpc.debug", false, "If true, enables very verbose gRPC to debug mode. Useful to track connectivity issues.")
flag.StringVar(&c.cluster.listen, "cluster.listen", "", "Complete instance address (including port).")
flag.Var(&c.cluster.seeds, "cluster.seeds", "List of instances addresses that are pare of the cluster separated by the comma. Entry that overlaps with cluster.listen value will be ignored.")
flag.StringVar(&c.catalog.http, "catalog.http", "http://localhost:8500/v1/catalog/service/mnemosyned", "Address of service catalog (exprimental).")
flag.StringVar(&c.catalog.dns, "catalog.dns", "", "DNS server address that can resolve SRV lookup (experimental).")
flag.Var(&c.cluster.seeds, "cluster.seeds", "List of comma-separated instances addresses that are part of the cluster. An entry that overlaps with cluster.listen value will be ignored.")
flag.StringVar(&c.catalog.http, "catalog.http", "http://localhost:8500/v1/catalog/service/mnemosyned", "Address of a service catalog (experimental).")
flag.StringVar(&c.catalog.dns, "catalog.dns", "", "A DNS server address that can resolve SRV lookup (experimental).")
flag.DurationVar(&c.session.ttl, "ttl", storage.DefaultTTL, "Session time to live, after which session is deleted.")
flag.DurationVar(&c.session.ttc, "ttc", storage.DefaultTTC, "Session time to cleanup, how often cleanup will be performed.")
flag.StringVar(&c.logger.environment, "log.environment", "production", "Logger environment config (production, stackdriver or development).")
Expand Down

0 comments on commit 5f3f474

Please sign in to comment.