From 3d92d2ed8bb5841c672b25e34149eafff0f5d3b6 Mon Sep 17 00:00:00 2001 From: Robert Swain Date: Fri, 21 Apr 2017 15:52:00 +0200 Subject: [PATCH] cmd/dendrite: Remove literal double quotes from default values docopt parses default values literally. --- src/github.com/matrix-org/dendrite/cmd/dendrite/main.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/cmd/dendrite/main.go b/src/github.com/matrix-org/dendrite/cmd/dendrite/main.go index 279b28414..e78f1c433 100644 --- a/src/github.com/matrix-org/dendrite/cmd/dendrite/main.go +++ b/src/github.com/matrix-org/dendrite/cmd/dendrite/main.go @@ -45,18 +45,17 @@ Options: -H , --host= Host to bind. The port is optional and ignored for 'serve all'. The default ports are: 7776 (sync-api), 7777 (room-server), and 7778 (client-api) - [default: "localhost"] + [default: localhost] -h, --help Print this usage text. -k , --kafka-hosts= - A comma-separated list of Kafka hosts. [default: "localhost:9092"] + A comma-separated list of Kafka hosts. [default: localhost:9092] -l , --log-dir= Path to log directory. If not set, logs will only be written to stderr. -r , --room-server-host= - Host of the room server. [default: "localhost:7777"] + Host of the room server. [default: localhost:7777] -t , --topic-prefix= Prefix for Kafka topics used for inter-component communication. - [default: ""] -V, --version Print the dendrite version.