Michael Pasternak has submitted this change and it was merged.
Change subject: cli: mismatch between restore snapshot syntax and auto completion
#1027298
......................................................................
cli: mismatch between restore snapshot syntax and auto completion #1027298
1. Replaces current line with new content formated according
to command syntax, use-case:
* action could not be determinated unless object parent/s is/are specified
from:
action object xxx --parent-identifier yyy action-name
to:
action object xxx action-name --parent-identifier yyy
2. replaces history entry with reformatted content
Change-Id: Ibf7bb40e8fe2f933ccbfae75a0e031235b2dc07d
Signed-off-by: Michael pasternak <mpastern(a)redhat.com>
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1027298
---
M src/ovirtcli/historymanager.py
M src/ovirtcli/shell/actioncmdshell.py
M src/ovirtcli/shell/engineshell.py
3 files changed, 80 insertions(+), 4 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
Ravi Nori: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/22090
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf7bb40e8fe2f933ccbfae75a0e031235b2dc07d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: cli_3.3
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>