Bug 5349

Summary: Tab completion fails after shortenened command names.
Product: frysk Reporter: Teresa Thomas <tthomas>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 2246    

Description Teresa Thomas 2007-11-16 15:00:24 UTC
Example: 
<<pr xyz<tab> >> and << pr <tab> >> doesn't complete/display options.
Comment 1 Andrew Cagney 2007-11-19 17:49:56 UTC
2007-11-17  Andrew Cagney  <cagney@redhat.com>

        * Command.java (name): Delete.
        (getName()): Delete.
        * MultiLevelCommand.java (add(Command)): Delete.
        (add(Command,String)): New.
        (abbrevs): New.
        (addAbbrev): New.
        (lookup(String)): Use abbrevs.
        (complete(CLI,Input,int,List)): Use lookup(String).
        * TopLevelCommand.java: Update.