Bug 983659 - RHEVM-CLI: Auto complete omits dashes and therefore doesn't work
RHEVM-CLI: Auto complete omits dashes and therefore doesn't work
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Michael Pasternak
Elena
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-11 12:05 EDT by Barak Dagan
Modified: 2014-07-13 19:19 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-11 13:58:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Barak Dagan 2013-07-11 12:05:48 EDT
Description of problem:

The auto complate omits the '--' before the parameters, therefore the action fails:


[RHEVM shell (connected)]# info

backend version: 3.3
sdk version    : 3.3.0.5
cli version    : 3.3.0.3
python version : 2.6.6.final.0



[RHEVM shell (connected)]# add vm name vm1 cluster-name CL1 template-name Blank

error: wrong number of arguments, try 'help add' for help.

[RHEVM shell (connected)]# add vm --name vm1 --cluster-name CL1 --template-name Blank

id                        : 9e096f47-1a49-4188-b628-791274a2737d
name                      : vm1
cluster-id                : ba35802c-462e-4b43-a6e8-1823e7575eb8
cpu-topology-cores        : 1
cpu-topology-sockets      : 1
creation_time             : 2013-07-11 18:48:46.884000+03:00
delete_protected          : False
display-allow_override    : False
display-monitors          : 1
display-smartcard_enabled : False
display-type              : spice
high_availability-enabled : False
high_availability-priority: 0
memory                    : 1073741824
memory_policy-ballooning  : True
memory_policy-guaranteed  : 1073741824
origin                    : ovirt
os-boot-dev               : hd
os-type                   : unassigned
placement_policy-affinity : migratable
quota-id                  : 00000000-0000-0000-0000-000000000000
stateless                 : False
status-state              : down
template-id               : 00000000-0000-0000-0000-000000000000
type                      : desktop
usb-enabled               : False


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

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 2 Michael Pasternak 2013-07-11 14:20:01 EDT
auto-completion that adds -- prefix for ambiguous options happens 
in double tab <TAB><TAB>, this is not new and works same as in all previous
version of cli.
Comment 4 Barak Dagan 2013-07-11 14:49:02 EDT
(In reply to Michael Pasternak from comment #2)
> auto-completion that adds -- prefix for ambiguous options happens 
> in double tab <TAB><TAB>, this is not new and works same as in all previous
> version of cli.

Not reproducible - leaving closed

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