From 85857d99e137f8c718dfa28b205e4b6d63584345 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 | 22 ++++++++++++++-------- include/CLI/Validators.hpp | 49 ++++++++++++++++++++++++------------------------- tests/AppTest.cpp | 8 ++++---- tests/HelpersTest.cpp | 38 +++++++++++++++++++------------------- tests/app_helper.hpp | 2 +- 5 files changed, 62 insertions(+), 57 deletions(-) diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index d0a01b7..bec77ad 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -148,7 +148,7 @@ class Option : public OptionBase