Bug 501878

Summary: guestfish built-in commands like 'alloc' and 'help' don't autocomplete
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, rjones, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-27 10:03:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2009-05-21 08:24:43 UTC
To reproduce this, run guestfish, and try typing partial commands
followed by the [TAB] (autocomplete) key.  For example, typing
the letter 'a' followed by [TAB] shows:

><fs> a
add          append       aug-defvar   aug-insert   aug-match    aug-save
add-cdrom    aug-close    aug-get      aug-load     aug-mv       aug-set
add-drive    aug-defnode  aug-init     aug-ls       aug-rm       autosync

Built-in commands like 'alloc' and 'help' aren't included in the autocomplete
list.

Comment 1 Richard W.M. Jones 2009-05-26 09:47:43 UTC
Upstream bug, moved to 'Virtualization Tools' product.

Comment 2 Richard W.M. Jones 2009-05-27 11:30:38 UTC
This should be fixed by this change:

http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=6610af333b93d93f6f0f4b917e0caee0d35ba389

Comment 3 Richard W.M. Jones 2009-05-27 11:31:20 UTC
Output of a[TAB] is now:

><fs> a
add          allocate     aug-defvar   aug-load     aug-rm       
add-cdrom    append       aug-get      aug-ls       aug-save     
add-drive    aug-close    aug-init     aug-match    aug-set      
alloc        aug-defnode  aug-insert   aug-mv       autosync

Comment 4 Fedora Update System 2009-05-27 13:23:41 UTC
libguestfs-1.0.33-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.33-1.fc11

Comment 5 Fedora Update System 2009-05-29 06:03:52 UTC
libguestfs-1.0.36-1.fc11.2 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.36-1.fc11.2

Comment 6 Fedora Update System 2009-06-02 15:10:24 UTC
libguestfs-1.0.38-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.38-1.fc11

Comment 7 Fedora Update System 2009-06-04 15:39:42 UTC
libguestfs-1.0.41-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.41-1.fc11

Comment 8 Fedora Update System 2009-06-06 17:58:03 UTC
libguestfs-1.0.42-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.42-1.fc11

Comment 9 Fedora Update System 2009-06-23 09:15:28 UTC
libguestfs-1.0.51-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.51-1.fc11

Comment 10 Fedora Update System 2009-06-29 19:28:05 UTC
libguestfs-1.0.54-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.54-2.fc11

Comment 11 Fedora Update System 2009-07-02 23:26:52 UTC
libguestfs-1.0.55-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.55-1.fc11

Comment 12 Fedora Update System 2009-07-11 09:27:51 UTC
libguestfs-1.0.58-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/libguestfs-1.0.58-2.fc11

Comment 13 Fedora Update System 2009-07-11 17:13:13 UTC
libguestfs-1.0.54-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2009-07-19 10:28:31 UTC
libguestfs-1.0.58-2.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Richard W.M. Jones 2010-03-27 10:03:00 UTC
Long fixed upstream.