From 9acaeebd1ebf4692c5f80ad8eea88f67cbc10bd4 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Tue, 21 Nov 2017 13:10:40 -0500 Subject: [PATCH] Subcommand parse order corrected and preserved --- include/CLI/App.hpp | 28 ++++++++++---- tests/SubcommandTest.cpp | 82 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+), 8 deletions(-) diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index 65a49960..246f8df3 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -102,6 +102,9 @@ class App { /// This is a list of pointers to options with the original parse order std::vector