Bug 841478 - Double TAB on "create permission vm" does not autocomplete "--vm-identifier"
Summary: Double TAB on "create permission vm" does not autocomplete "--vm-identifier"
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Elena
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-19 06:23 UTC by Dan Macpherson
Modified: 2016-02-10 19:27 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-24 07:12:03 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dan Macpherson 2012-07-19 06:23:24 UTC
Description of problem:
When using the double TAB autocomplete for permission creation on a virtual machine, vm does not autocomplete to --vm-identifier, but rather just --vm

Version-Release number of selected component (if applicable):
3.1

How reproducible:
Always

Steps to Reproduce:
1. Run ovirt-shell and connect to an ovirt environment
2. Type "create permission vm"
3. Press double TAB
  
Actual results:
[oVirt shell (connected)]# create permission --vm

Expected results:
[oVirt shell (connected)]# create permission --vm-identifier

Additional info:
There's also a vmpool identifier. Autocomplete might be having trouble resolving due to two vm* entries.

Comment 1 Michael Pasternak 2012-09-23 09:18:48 UTC
this is happens because of vm* ambiguity:

cluster        datacenter     group          host           storagedomain  template       user           vm             vmpool         
[oVirt shell (connected)]# add permission vm<TAB><TAB>

=> vm/vmpool

Comment 2 Itamar Heim 2013-03-24 07:12:03 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.