Bug 1021003

Summary: libvirt shell completions are wrong
Product: [Fedora] Fedora Reporter: Zbigniew Jędrzejewski-Szmek <zbyszek>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, clalancette, eblake, itamar, jforbes, jyang, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-18 18:21:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zbigniew Jędrzejewski-Szmek 2013-10-18 18:14:44 UTC
Description of problem:
Running the virsh shell:

virsh # dumpxml <TAB>
--inactive       --migratable     --security-info  --update-cpu     

I'd expect a list of domains to be proposed. Only when I type at least one dash — the options.

Running from bash or zsh:
$ sudo virsh <TAB>
... long list of files here — no completions at all ...

Version-Release number of selected component (if applicable):
libvirt-client-1.1.3-2.fc20.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Try to press TAB at various points.

Expected results:
Completions which make it easier to use virsh.

Comment 1 Eric Blake 2013-10-18 18:21:58 UTC

*** This bug has been marked as a duplicate of bug 579027 ***