Change in ovirt-engine-cli[cli_3.6]: cli: Process correctly "--parent..." options

Juan Hernandez has submitted this change and it was merged. Change subject: cli: Process correctly "--parent..." options ...................................................................... cli: Process correctly "--parent..." options Currently when the CLI tries to find a parent collection it assumes that the option used is "--type-identifier", but it can also be "--parent-type-identifier" and "--parent-type-name". As a result when the "--parent..." options are used autocompletion doesn't show the correct options. To avoid this issue this patch changes the CLI so that it uses the methods that check this in a more generic way. Change-Id: I42fb362c59d4baad5968c1ac0df15bbe0b7dab8a Bug-Url: https://bugzilla.redhat.com/1282832 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> (cherry picked from commit 1dcf01ef247ead15b6c49f7b6efc95f8ceac7d41) --- M Makefile M src/ovirtcli/command/command.py M src/ovirtcli/shell/cmdshell.py A src/ovirtcli/utils/optionhelper.py 4 files changed, 78 insertions(+), 51 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/48812 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I42fb362c59d4baad5968c1ac0df15bbe0b7dab8a Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: cli_3.6 Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
juan.hernandez@redhat.com