Bug 5349 - Tab completion fails after shortenened command names.
Summary: Tab completion fails after shortenened command names.
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2007-11-16 15:00 UTC by Teresa Thomas
Modified: 2007-12-17 16:21 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.