From 268c26ad62667ae891cad167eca36085e7478859 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Mon, 26 Mar 2018 10:16:27 +0200 Subject: [PATCH] Fix #64 by auto-adding symmetric excludes --- CHANGELOG.md | 7 ++++++- include/CLI/Option.hpp | 11 ++++++++--- tests/CreationTest.cpp | 12 +++++++----- tests/HelpTest.cpp | 11 +++++++++++ 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cdcc02f..a62cb6bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ ## In progress -* Fix unlimited short options eating two values before checking for positionals when no space present #90 +* Fix unlimited short options eating two values before checking for positionals when no space present [#90] +* Symmetric exclude text when excluding options, exclude can be called multiple times [#64] + +[#64]: https://github.com/CLIUtils/CLI11/issues/64 +[#90]: https://github.com/CLIUtils/CLI11/issues/90 + ## Version 1.4: More feedback diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index f8222d34..6525a11d 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -315,9 +315,14 @@ class Option : public OptionBase