From 7a4a8847d4a3e5d7e857338d8d9123eac9e95c6c Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 23 Jun 2020 14:22:39 -0400 Subject: [PATCH] Removing typo --- include/cxxopts.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 06eac35..3667cb4 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1050,8 +1050,7 @@ namespace cxxopts std::string m_short{}; std::string m_long{}; String m_desc{}; - std::shared_ptr m_value{} - ; + std::shared_ptr m_value{}; int m_count; }; @@ -1481,6 +1480,10 @@ namespace cxxopts if (!s.empty()) { result += "-" + toLocalString(s) + ","; + if (!l.empty()) + { + result += ","; + } } else {