From 2a1d35fbd180b7b579e956815a380cac00bd9b2d Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Fri, 24 Nov 2017 14:04:20 -0500 Subject: [PATCH] Return string for error message in validators --- include/CLI/Option.hpp | 20 ++++++++++------ include/CLI/Validators.hpp | 49 +++++++++++++++++++------------------- tests/AppTest.cpp | 8 +++---- tests/HelpersTest.cpp | 38 ++++++++++++++--------------- tests/app_helper.hpp | 2 +- 5 files changed, 61 insertions(+), 56 deletions(-) diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index d0a01b71b..ef52b5a3c 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -148,7 +148,7 @@ class Option : public OptionBase