src/CLIParser.h
branchv_0
changeset 14 f407f2a2871d
parent 9 b064f1b3676e
child 19 e4558df9ba2d
--- a/src/CLIParser.h	Mon May 06 23:52:22 2019 +0200
+++ b/src/CLIParser.h	Tue May 07 01:03:21 2019 +0200
@@ -97,9 +97,8 @@
 				if (currentRelation.relation.size()) currentRelation.definitions.push_back(definition);
 				else c.definitions.push_back(definition);
 			} else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
-
-			addRelation(c, currentRelation); // last relation
 		}
+		addRelation(c, currentRelation); // last relation
 
 		return c;
 	}