From 1c237223f464ade9914911c8730606bc06da57fc 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 6948a9e..d9fbbed 100644 --- a/include/cxxopts.hpp +++ b/include/cxxopts.hpp @@ -1713,7 +1713,6 @@ ParseResult::parse(int& argc, const char**& argv) { if (m_allow_unrecognised) { - ++current; continue; } else