src/CLIParser.h
branchv_0
changeset 3 9f2d6645ebe6
parent 0 5d1c556ff7db
equal deleted inserted replaced
2:eddead33f633 3:9f2d6645ebe6
    70 				currentRelation.mode = parseMode(readNext(arguments, i));
    70 				currentRelation.mode = parseMode(readNext(arguments, i));
    71 			} else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
    71 			} else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
    72 		}
    72 		}
    73 		addRelation(c, currentRelation); // last relation
    73 		addRelation(c, currentRelation); // last relation
    74 
    74 
       
    75 		if (c.relationConfigurations.size() == 0) c.relationConfigurations.push_back({L".*", MODE::AUTO});
       
    76 
    75 		return c;
    77 		return c;
    76 	}
    78 	}
    77 
    79 
    78 	virtual ~CLIParser() {
    80 	virtual ~CLIParser() {
    79 	}
    81 	}