From 908a9f13dc673be2975659fc8281d0f416b34ec0 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 23 Jun 2020 14:23:43 -0400 Subject: [PATCH] Matching original code --- include/cxxopts.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index 3667cb4..0cfc86a 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1479,10 +1479,10 @@ namespace cxxopts if (!s.empty()) { - result += "-" + toLocalString(s) + ","; - if (!l.empty()) - { - result += ","; + result += "-" + toLocalString(s); + if (!l.empty()) + { + result += ","; } } else