aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-01-04 09:37:32 +0100
committerPer Larsson <[email protected]>2022-01-04 09:37:32 +0100
commit1a5badefe3dbab50e315f720d3acb80ba9626801 (patch)
treea6678e4384f662426eb3146c931076d5123999e1 /zenserver/config.cpp
parentChanged timestamp to atomic int64. (diff)
downloadzen-1a5badefe3dbab50e315f720d3acb80ba9626801.tar.xz
zen-1a5badefe3dbab50e315f720d3acb80ba9626801.zip
Removed upstream Zen default value(s) and trim empty url values.
Diffstat (limited to 'zenserver/config.cpp')
-rw-r--r--zenserver/config.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index b25d05409..c33fcfebc 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -285,14 +285,14 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions)
"",
"upstream-zen-url",
"URL to remote Zen server. Use a comma separated list to choose the one with the best latency.",
- cxxopts::value<std::vector<std::string>>(ServerOptions.UpstreamCacheConfig.ZenConfig.Urls)->default_value(""),
+ cxxopts::value<std::vector<std::string>>(ServerOptions.UpstreamCacheConfig.ZenConfig.Urls),
"");
options.add_option("cache",
"",
"upstream-zen-dns",
"DNS that resolves to one or more Zen server instance(s)",
- cxxopts::value<std::vector<std::string>>(ServerOptions.UpstreamCacheConfig.ZenConfig.Dns)->default_value(""),
+ cxxopts::value<std::vector<std::string>>(ServerOptions.UpstreamCacheConfig.ZenConfig.Dns),
"");
options.add_option("cache",