From 15c2657c3d0746180a817452a6e3c067b8c60064 Mon Sep 17 00:00:00 2001 From: Frank Schoenmann Date: Wed, 4 Apr 2018 10:43:57 +0200 Subject: [PATCH] Correctly handle short unrecognised options. --- include/cxxopts.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/cxxopts.hpp b/include/cxxopts.hpp index a7c87b5..e18b401 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1713,7 +1713,6 @@ ParseResult::parse(int& argc, char**& argv) { if (m_allow_unrecognised) { - ++current; continue; } else