Skip to content

Commit c5d3993

Browse files
committed
cmd
1 parent 32918ca commit c5d3993

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cli/cmdlineparser.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a
321321

322322
// check for exclusive options
323323
for (int i = 1; i < argc; i++) {
324+
if (argv[i][0] != '-')
325+
continue;
326+
324327
// documentation..
325328
if (std::strcmp(argv[i], "--doc") == 0) {
326329
std::ostringstream doc;

0 commit comments

Comments
 (0)