Change in ovirt-engine[ovirt-engine-3.4]: core: Adds cli parser supporting short and long args

iheim at redhat.com iheim at redhat.com
Mon Feb 10 10:56:11 UTC 2014


Itamar Heim has submitted this change and it was merged.

Change subject: core: Adds cli parser supporting short and long args
......................................................................


core: Adds cli parser supporting short and long args

Adds command line arguments parser that supports parsing short (-h) and
long arguments (--help).

Change-Id: Id7fe3bf761bd26c86d684ad1dc85751d4492239b
Bug-Url: https://bugzilla.redhat.com/904029
Signed-off-by: Martin Perina <mperina at redhat.com>
---
A backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/cli/Argument.java
A backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/cli/ArgumentBuilder.java
A backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/cli/ExtendedCliParser.java
A backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/cli/ArgumentBuilderTest.java
A backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/cli/ExtendedCliParserTest.java
5 files changed, 770 insertions(+), 0 deletions(-)

Approvals:
  Martin Peřina: Verified
  Yair Zaslavsky: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/23995
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id7fe3bf761bd26c86d684ad1dc85751d4492239b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list