From b21b18b6306483e07570ddd52fb1420c61545d75 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 May 2024 00:52:54 +0000 Subject: [PATCH] sync to p-ranav/argparse@eab1d75e49970857eba1fdef5afb68befa2fa16f --- .gitpicker.json | 2 +- argparse.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitpicker.json b/.gitpicker.json index 5240616..928925d 100644 --- a/.gitpicker.json +++ b/.gitpicker.json @@ -38,7 +38,7 @@ { "user": "p-ranav", "repo": "argparse", - "branch": "f0759fd982bb4a88785094626ea522cb3a84ec84", + "branch": "eab1d75e49970857eba1fdef5afb68befa2fa16f", "root": "include/argparse", "file": [ "argparse.hpp" diff --git a/argparse.hpp b/argparse.hpp index 74f07bd..8ee2aee 100644 --- a/argparse.hpp +++ b/argparse.hpp @@ -1831,9 +1831,9 @@ class ArgumentParser { for (Argument *arg : group.m_elements) { if (i + 1 == size) { // last - argument_names += "'" + arg->get_usage_full() + "' "; + argument_names += std::string("'") + arg->get_usage_full() + std::string("' "); } else { - argument_names += "'" + arg->get_usage_full() + "' or "; + argument_names += std::string("'") + arg->get_usage_full() + std::string("' or "); } i += 1; }