Alon Bar-Lev has posted comments on this change. Change subject: extensions test tool: logger ......................................................................
Patch Set 13: (1 comment) https://gerrit.ovirt.org/#/c/37886/13/backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/cli/parser/ParametersParser.java File backend/manager/modules/uutils/src/main/java/org/ovirt/engine/core/uutils/cli/parser/ParametersParser.java: Line 50: } Line 51: Line 52: public Map<String, Object> parse(String[] args, boolean isModule) throws Exception { Line 53: return parse(new ArrayList<String>(Arrays.asList(args)), isModule); Line 54: } > In first parsing(core) we just parse until we hit module (ie. logger, aaa, once you meet the logger/aaa/etc you stop parsing anyway as it does not begin with --, so I do not understand the difference. xxx --arg1 --arg2 module/whatever --arg3 --arg4 first pass: --arg1 --arg2 others=module/whatever --arg3 --arg4 second pass: --arg3 --arg4 Line 55: Line 56: public Map<String, Object> parse(List<String> args, boolean isModule) throws Exception { Line 57: String usage = "core"; Line 58: List<Object> others = new ArrayList<>(); -- To view, visit https://gerrit.ovirt.org/37886 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie06113c5d56a49e58d557c851f9ff00b9a9ca409 Gerrit-PatchSet: 13 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Ondřej Macháček <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Ondra Machacek <[email protected]> Gerrit-Reviewer: Ondřej Macháček <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: mooli tayer <[email protected]> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
